Re: [PHP-DB] Easy way to calculate difference between two dates

2002-01-20 Thread Jason Wong
On Monday 21 January 2002 10:19, SpamSucks86 wrote: > Is there an easy way to calculate the difference between the current > date and a date prior to January 1, 1970 (unix epoch). Just getting the > timestamp and then subtracting the other date from it won't work because > it will be a negative nu

RE: [PHP-DB] Easy way to calculate difference between two dates

2002-01-20 Thread Beau Lebens
soo what happens with php if you do something like convert them both to Y-m-d H:i:s and then subtract one from the other, i have a feeling (haven't tried) that php will handle the rest for you... // -Original Message- // From: SpamSucks86 [mailto:[EMAIL PROTECTED]] // Sent: Monday, 21