On Wed, Oct 08, 2003 at 03:08:44PM +0100, Shaun wrote:
:
: is there a function in PHP that will work out the amount of time(hours)
: beween two different dates / times?
Just convert the two times into Unix timestamps, subtract one from the
other, and the difference is the amount of time in second
[snip]
is there a function in PHP that will work out the amount of time(hours)
beween two different dates / times?
[/snip]
http://www.php.net/strtotime
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
2 matches
Mail list logo