note 28798 added to function.strtotime

From: Date: Fri, 24 Jan 2003 07:44:11 +0000
Subject: note 28798 added to function.strtotime
Groups: php.notes 
Request: Send a blank email to php-notes+get-42677@lists.php.net to get a copy of this message
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!! -- http://www.php.net/manual/en/function.strtotime.php http://master.php.net/manage/user-notes.php?action=edit+28798 http://master.php.net/manage/user-notes.php?action=delete+28798 http://master.php.net/manage/user-notes.php?action=reject+28798

« previous php.notes (#42677) next »