You are here: Re: Number of days in 1/1/2000 « PHP Programming Language « IT news, forums, messages
Re: Number of days in 1/1/2000

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация