Re: Timestamps operations

From: Date: Fri, 24 Aug 2001 09:42:52 +0000
Subject: Re: Timestamps operations
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-64225@lists.php.net to get a copy of this message
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 hours, or how many seconds, thnx > > > >

« previous php.general (#64225) next »