note 106966 deleted from datetime.add by danbrown
| From: | danbrown@php.net | Date: | Tue, 03 Jan 2012 22:04:52 +0000 |
| Subject: | note 106966 deleted from datetime.add by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-185316@lists.php.net to get a copy of this message | ||
Note Submitter: ratkinson at tbs-ltd dot co dot uk
----
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!