...

View Full Version : Precise time comparison?



gorilla1
03-23-2003, 08:39 PM
If I want to compare two times pretty precisely - that is, I want to know if time a is later than time b down to a fraction of a second - is time() the best thing I have to do the job? time() being the timestamp.

G

thox
03-24-2003, 02:15 AM
See microtime() :)

gorilla1
03-24-2003, 06:22 PM
Thank you... I am building a chat application. I wonder if that level of precision is neccesary, or will time() be adequate. I will be experimenting.

G



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum