: nafiseh saberi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 23, 2001 9:30 AM
Subject: [PHP] convert 12:12:00 to seconds
|
| hi.
| how do I covert convert 12:12:00 to seconds ?
| I want to get time from system and covert it to seconds to do
| arithmetic work on it.
| thanks
used with gmmktime will give me how many seconds there are in
9:12:00h
?
- Original Message -
From: nafiseh saberi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 23, 2001 4:30 PM
Subject: [PHP] convert 12:12:00 to seconds
hi.
how do I covert convert 12:12:00 to seconds
maybe
$time=12:12:00
$x=explode(:,$time);
$sec=($x[0]*3600)+($x[1]*60)=$x[2];
rm
--- nafiseh saberi [EMAIL PROTECTED] wrote:
hi.
how do I covert convert 12:12:00 to seconds ?
I want to get time from system and covert it to
seconds to do
arithmetic work on it.
thanks.
--
3 matches
Mail list logo