Posted by Oli Filth on 11/11/05 18:31
el_roachmeister@yahoo.com said the following on 11/11/2005 16:24:
> I am looking for a script that can report the number of days since
> 2000. It should handle leap years but I am not worried about accuracy
> to the hour/minute or seconds. I am writing a calendar program and need
> a reference point to base all my dates from. So I picked 1/1/2000.
>
http://www.php.net/mktime
Then divide by 86400 ( = 24 * 60 * 60)
--
Oli
Navigation:
[Reply to this message]
|