note 130404 added to function.date
| From: | briegluz@gmail.com | Date: | Thu, 03 Jul 2025 15:45:09 +0000 |
| Subject: | note 130404 added to function.date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-222256@lists.php.net to get a copy of this message | ||
La date standarde afin d'assurer une communiquation standardisée entre SQL et php est la
suivante :
date('Y-m-d H:i:s')
Ce format ne respecte malheureusement pas l'ISO 8601, ce qui nous oblige à écrire cette
ligne. Utiliser l'ISO 8601 génèrera une erreur avec mariadb et mysql, car le fuseau
horaire est renseigné.
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.137 (proxied: 2a01:e0a:102:c160:5431:2de:1575:3767)
----
Manual Page -- https://php.net/manual/en/function.date.php
Edit -- https://main.php.net/note/edit/130404
Del: integrated -- https://main.php.net/note/delete/130404/integrated
Del: useless -- https://main.php.net/note/delete/130404/useless
Del: bad code -- https://main.php.net/note/delete/130404/bad+code
Del: spam -- https://main.php.net/note/delete/130404/spam
Del: non-english -- https://main.php.net/note/delete/130404/non-english
Del: in docs -- https://main.php.net/note/delete/130404/in+docs
Del: other reasons-- https://main.php.net/note/delete/130404
Reject -- https://main.php.net/note/reject/130404
Search -- https://main.php.net/manage/user-notes.php