View Full Version : Precise time comparison?

03-23-2003, 07: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.


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

03-24-2003, 05: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.


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum