note 28798 deleted from function.strtotime by sniper
| From: | sniper@php.net | Date: | Tue, 21 Oct 2003 11:02:42 +0000 |
| Subject: | note 28798 deleted from function.strtotime by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-59010@lists.php.net to get a copy of this message | ||
Note Submitter: nick.texidor AT webbods DOT com DOT au
----
not sure whether this one has been covered before.. but I just ran into it, so thought I'd post
it down here.
I've been using ColdFusion for most web sites, and really missed the DateAdd function... I just
discovered that strtotime can offer the same functionality!!
ie, strtotime("2003-01-24 +30 days") works if you want to add 30 days to a date.
Sorry if this was an obvious one!!