note 24586 deleted from ref.datetime by vincent
| From: | vincent@php.net | Date: | Thu, 11 Sep 2003 11:55:28 +0000 |
| Subject: | note 24586 deleted from ref.datetime by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-56083@lists.php.net to get a copy of this message | ||
Note Submitter: jemore.at.m6net.dot.fr@nospam.com
----
I have write a library to manipulate date and time as a TDateTime-like Delphi object.
My new DateTime format is a float value, where the integer part is the number of day since a given
date (1/1/1899), and the fractional part represents the number of milliseconds since 0h0m0s of this
day.
So it is easy to compare, add, multiply dates, and there is no 1970-2038 limit.
You can convert DateTime number to unix epoch and mysql DATETIME type.
url is :
http://membres.lycos.fr/wincocktail/other/datetime.zip