note 101722 added to datetime.createfromformat
| From: | Anonymous at osu1 dot php dot net | Date: | Thu, 06 Jan 2011 19:55:32 +0000 |
| Subject: | note 101722 added to datetime.createfromformat | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-175504@lists.php.net to get a copy of this message | ||
You can use the ISO8601 constant instead:
$date = DateTime::createFromFormat(DateTime::ISO8601, date("c"))
You can view the other constants at:
http://php.net/manual/en/class.datetime.php
----
Server IP: 69.147.83.197
Probable Submitter: 152.11.170.14
----
Manual Page -- http://www.php.net/manual/en/datetime.createfromformat.php
Edit -- https://master.php.net/note/edit/101722
Del: integrated -- https://master.php.net/note/delete/101722/integrated
Del: useless -- https://master.php.net/note/delete/101722/useless
Del: bad code -- https://master.php.net/note/delete/101722/bad+code
Del: spam -- https://master.php.net/note/delete/101722/spam
Del: non-english -- https://master.php.net/note/delete/101722/non-english
Del: in docs -- https://master.php.net/note/delete/101722/in+docs
Del: other reasons-- https://master.php.net/note/delete/101722
Reject -- https://master.php.net/note/reject/101722
Search -- https://master.php.net/manage/user-notes.php