note 49331 added to function.strtotime
| From: | ned at nospam dot wgtech dot com | Date: | Mon, 24 Jan 2005 17:11:55 +0000 |
| Subject: | note 49331 added to function.strtotime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-83880@lists.php.net to get a copy of this message | ||
For those who might be looking for a way to format date information in one string according to the
formatting rules of another string for whatever reason, I have a function over on evil walrus that
will do just that. It returns an array formatted similarly to getdate();
Gives you a bit more control than the blind swinging strtotime() does.
Its here:
http://www.evilwalrus.com/viewcode.php?codeEx=627
----
Manual Page -- http://www.php.net/manual/en/function.strtotime.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+49331
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49331&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49331&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49331&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49331&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49331&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+49331&report=yes
Search -- http://master.php.net/manage/user-notes.php