note 106966 added to datetime.add
| From: | ratkinson at tbs-ltd dot co dot uk | Date: | Wed, 21 Dec 2011 15:44:31 +0000 |
| Subject: | note 106966 added to datetime.add | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-185196@lists.php.net to get a copy of this message | ||
If, like me, you find the PHP DateTime way of thinking very long-winded then you might like to try
the 'does it all' DateFormat() function I created to make life easier.
Date manipulation is very simple with a single command like $date =
DateFormat("TOMORROW","WEEKDAY"); and is very flexible on input and output
formats.
The function can be found at :-
http://www.ratkinson.co.uk/PHP_Sample_Scripts/DateFormat.php.txt
Enjoy!
----
Server IP: 87.124.126.108
Probable Submitter: 62.172.191.254 (proxied: 62.172.191.254)
----
Manual Page -- http://www.php.net/manual/en/datetime.add.php
Edit -- https://master.php.net/note/edit/106966
Del: integrated -- https://master.php.net/note/delete/106966/integrated
Del: useless -- https://master.php.net/note/delete/106966/useless
Del: bad code -- https://master.php.net/note/delete/106966/bad+code
Del: spam -- https://master.php.net/note/delete/106966/spam
Del: non-english -- https://master.php.net/note/delete/106966/non-english
Del: in docs -- https://master.php.net/note/delete/106966/in+docs
Del: other reasons-- https://master.php.net/note/delete/106966
Reject -- https://master.php.net/note/reject/106966
Search -- https://master.php.net/manage/user-notes.php