date1 - date2 = seconds
(date1 - date2)/60 = mins
(((date1 -date2)/60)/60)/24 = days


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 hours, or how many seconds, thnx

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to