If I have two variables of time both in the format of Y-m-j J:i:s
How would I go about and get the difference?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, April 19, 2002 1:08 PM
Subject: [PHP] Determine the difference between two dates
If I have two variables of time both in the format of Y-m-j J:i:s
How would I go about and get the difference?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
printf (Difference is %d seconds,$timeDiff);
?
HTH
Danny.
- Original Message -
From: Ron Allen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 19, 2002 1:08 PM
Subject: [PHP] Determine the difference between two dates
If I have two variables of time both
etermine the difference between two dates
If I have two variables of time both in the format of Y-m-j J:i:s
How would I go about and get the difference?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
use the date() command (http://www.php.net/date) - using $timeDiff as the
datestamp.
HTH
Danny
- Original Message -
From: Ron Allen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 19, 2002 2:56 PM
Subject: Re: [PHP] Determine the difference between two dates
If I wanted
002 2:56 PM
Subject: Re: [PHP] Determine the difference between two dates
If I wanted to represent it in the format of Days,Hours,Minutes,Seconds
how
would that work
Danny Shepherd [EMAIL PROTECTED] wrote in message
020e01c1e7a1$70098eb0$0200a8c0@dannys">news:020e01c1e7a1$7
:56 PM
Subject: Re: [PHP] Determine the difference between two dates
If I wanted to represent it in the format of
Days,Hours,Minutes,Seconds
how
would that work
Danny Shepherd [EMAIL PROTECTED] wrote in message
020e01c1e7a1$70098eb0$0200a8c0@dannys">news:020e01c1e7a1$
7 matches
Mail list logo