Re: [PHP] time in php

2001-08-20 Thread speedboy
> 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

[PHP] time in php

2001-08-20 Thread nafiseh saberi
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]

Re: [PHP] Time in php problem....

2001-02-12 Thread Web master
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

RE: [PHP] Time in php problem....

2001-02-12 Thread PHPBeginner.com
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 (

RE: [PHP] Time in php problem....

2001-02-12 Thread Dave VanAuken
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

[PHP] Time in php problem....

2001-02-12 Thread Ng Kok Chun
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