Posted by FFMG on 08/15/07 09:57
Hi,
Given a time I want to know if it is today or yesterday, (on the
server).
I cannot use time difference because if I log the time and it is 23:59
and I check again at 24:01 then the earlier time is, in fact,
yesterday.
so given time $a and time $b how can I calculate if $a is the day
before $b?
Thanks
FFMG
--
'webmaster forum' (http://www.httppoint.com) | 'Free Blogs'
(http://www.journalhome.com/) | 'webmaster Directory'
(http://www.webhostshunter.com/)
'Recreation Vehicle insurance'
(http://www.insurance-owl.com/other/car_rec.php) | 'Free URL
redirection service' (http://urlkick.com/)
------------------------------------------------------------------------
FFMG's Profile: http://www.httppoint.com/member.php?userid=580
View this thread: http://www.httppoint.com/showthread.php?t=19402
Message Posted via the webmaster forum http://www.httppoint.com, (Ad revenue sharing).
[Back to original message]
|