note 69146 added to function.mktime
| From: | scratch_fury at yahoo dot com | Date: | Thu, 24 Aug 2006 17:07:05 +0000 |
| Subject: | note 69146 added to function.mktime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-116275@lists.php.net to get a copy of this message | ||
In response to the post by "nicky" on July 9, 2006:
Just so everyone's clear, if you have a date string formatted in a standard way, you'll
probably want to go ahead and use PHP's built-in strtotime() function. The advantage to using
nicky's str2time() function seems to be that you can specify how the date string you're
passing in is formatted, so you can deal with non-standard date strings.
----
Server IP: 216.194.113.175
Probable Submitter: 128.174.73.28
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.mktime.php
Edit -- https://master.php.net/note/edit/69146
Del: integrated -- https://master.php.net/note/delete/69146/integrated
Del: useless -- https://master.php.net/note/delete/69146/useless
Del: bad code -- https://master.php.net/note/delete/69146/bad+code
Del: spam -- https://master.php.net/note/delete/69146/spam
Del: non-english -- https://master.php.net/note/delete/69146/non-english
Del: in docs -- https://master.php.net/note/delete/69146/in+docs
Del: other reasons-- https://master.php.net/note/delete/69146
Reject -- https://master.php.net/note/reject/69146
Search -- https://master.php.net/manage/user-notes.php