note 84279 added to function.date-format
| From: | MikeC at osu1 dot php dot net | Date: | Mon, 07 Jul 2008 17:23:28 +0000 |
| Subject: | note 84279 added to function.date-format | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-141244@lists.php.net to get a copy of this message | ||
If you are studying date_format because you want to format a date, consider the power of date(..)
!!!!
the mktime article has an example of adding days to a date of your choice and then formatting it:
echo date("M-d-Y", mktime(0, 0, 0, 12, 32, 1997))
where the 32 is like adding 1 day to the 31st .
----
Server IP: 200.185.126.110
Probable Submitter: 189.5.215.120
----
Manual Page -- http://www.php.net/manual/en/function.date-format.php
Edit -- https://master.php.net/note/edit/84279
Del: integrated -- https://master.php.net/note/delete/84279/integrated
Del: useless -- https://master.php.net/note/delete/84279/useless
Del: bad code -- https://master.php.net/note/delete/84279/bad+code
Del: spam -- https://master.php.net/note/delete/84279/spam
Del: non-english -- https://master.php.net/note/delete/84279/non-english
Del: in docs -- https://master.php.net/note/delete/84279/in+docs
Del: other reasons-- https://master.php.net/note/delete/84279
Reject -- https://master.php.net/note/reject/84279
Search -- https://master.php.net/manage/user-notes.php