RE: [PHP] Adding X days to a time string...

From: Date: Fri, 21 Nov 2003 16:19:22 +0000
Subject: RE: [PHP] Adding X days to a time string...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-170588@lists.php.net to get a copy of this message
On Fri, 21 Nov 2003, Jeff Lewis wrote: > Sorry, I may have muddled that...the issue isn't converting a string to > a time, it's taking a time (1026360000 for example) and adding 30 days Having it in seconds since the epoch makes this pretty easy (60 * 60) * 24 = 86400 // seconds in a day (86400 * days) + timestamp -- Kelly Hallman //Ultrafancy/

« previous php.general (#170588) next »