Re: [PHP] Timestamps operations

2001-08-24 Thread Nick Davies
Erm.. date1 - date2 = seconds (date1 - date2)/60 = mins (((date1 -date2)/60)/60)/24 = days Nick. On Fri, 24 Aug 2001, Alberto wrote: > I have 2 timestamps like mktime(0,0,0,10,10,2001) and > mktime(0,0,0,9,9,2001), I want to know how many days are from timestamp1 to > timestamp2 or how many

[PHP] Timestamps operations

2001-08-24 Thread Alberto
I have 2 timestamps like mktime(0,0,0,10,10,2001) and mktime(0,0,0,9,9,2001), I want to know how many days are from timestamp1 to timestamp2 or how many hours, or how many seconds, thnx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c