> hi.
> how I compare two times with php?
> 12:23:50 - 13:12:00 = ???
Convert them to timestamps (unix timestamps) and subtract the two.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact th
hi.
how I compare two times with php?
12:23:50 - 13:12:00 = ???
thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I think you can do all of these using the session.
In your log on script, after validating his uid and pwd, insert a row
with current timestamp and his id.
Either during log off or session close insert another row with uid and
current time stamp. (This part I never done)
Rest is to manipulate th
bruary 13, 2001 5:11 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED];
"mailto:webmaster"@dark-library.com; [EMAIL PROTECTED]
Subject: [PHP] Time in php problem
hi... i need some help...
currently i doing web base programming (
TECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED];
"mailto:webmaster"@dark-library.com; [EMAIL PROTECTED]
Subject: [PHP] Time in php problem
hi... i need some help...
currently i doing web base programming ( econsultant )using php,
apache and mysql as well... now i facing a problem which
hi... i need some help...
currently i doing web base programming ( econsultant )using php, apache and mysql as
well... now i facing a problem which i need :
1) get time when consultant log on
2) get time when consultant log off
3) calculate how long for the specified consultant been log on to th
6 matches
Mail list logo