Re: Date +30 comparison

From: Date: Tue, 01 Sep 2009 20:51:38 +0000
Subject: Re: Date +30 comparison
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-297580@lists.php.net to get a copy of this message
At 2:47 PM -0400 9/1/09, Andrew Ballard wrote:
On Tue, Sep 1, 2009 at 1:27 PM, tedd<tedd.sperling@gmail.com> wrote:
First get the date to seconds, like so: $today_date = '8/26/2009'; $next_date = strtotime($today_date) + (86400 * 30);
No. Due to Daylight Saving Time, many time zones have two days each year when the number of seconds in a day is not 86400.
Arrggg. But good to know. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#297580) next »