Re: TimeStamp BEFORE 1970
| From: | Richard Davey | Date: | Thu, 07 Jul 2005 18:42:12 +0000 |
| Subject: | Re: TimeStamp BEFORE 1970 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-218310@lists.php.net to get a copy of this message | ||
Hello Bruno,
Thursday, July 7, 2005, 7:04:44 PM, you wrote:
BBBM> I've read the manual, and the ADOdb Date package functions, and
BBBM> I am not using this because I want to keep my framework simple,
BBBM> flexible, and fast.
BBBM> Well, I just want a simple way to translate dates (I know what
BBBM> is the input format) to unix timestamp, with ability to do this
BBBM> with dates before 1970, and after 2023, is there any way?
Personally I'd use the Pear Date package. It's stable, well formed and
will do exactly what you require: http://pear.php.net/package/Date
Even if you don't like the thought of using it - you can always pour
over the source code to look at their methods and see how they handle
it.
Best regards,
Richard Davey
--
http://www.launchcode.co.uk - PHP Development Services
"I do not fear computers. I fear the lack of them." - Isaac Asimov