Re: [PHP] Convert Date time into Seconds

2007-06-25 Thread Dan
Also if you're planning on doing regular math with the outputs it's pretty easy to check if it's been 24 hours if you're using a unix time stamp, if((larger - smaller) >= 86400) do something. ""kvigor"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Cool, Like Ambien, It worked li

Re: [PHP] Convert Date time into Seconds

2007-06-23 Thread kvigor
Cool, Like Ambien, It worked like a dream. "Robert Cummings" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Sat, 2007-06-23 at 21:29 -0500, kvigor wrote: >> Good Day, >> >> I'm chech if 24hrs has passed between these 2 datetimes: >> >> $dTime1 = 2007-06-21 11:08:09; >> >> $dTi

Re: [PHP] Convert Date time into Seconds

2007-06-23 Thread Robert Cummings
On Sat, 2007-06-23 at 21:29 -0500, kvigor wrote: > Good Day, > > I'm chech if 24hrs has passed between these 2 datetimes: > > $dTime1 = 2007-06-21 11:08:09; > > $dTime2 = 2007-06-22 07:08:09; > > I'd really like to convert the datetimes above into a format I can do > regular math them. $foo

[PHP] Convert Date time into Seconds

2007-06-23 Thread kvigor
Good Day, I'm chech if 24hrs has passed between these 2 datetimes: $dTime1 = 2007-06-21 11:08:09; $dTime2 = 2007-06-22 07:08:09; I'd really like to convert the datetimes above into a format I can do regular math them. Browsing around I've found the following code. But both weren't clear on