[wp-hackers] Post dates older than 1.1.1970 - PHP issue
Otto
otto at ottodestruct.com
Fri Jul 17 21:41:05 UTC 2009
Correction: PHP 5.2 and up supports pre-1970 and post-2038 dates using
the DateTime classes. Old behavior in date() and such is still there.
http://us.php.net/manual/en/class.datetime.php
-Otto
Sent from Memphis, TN, United States
On Fri, Jul 17, 2009 at 4:39 PM, Otto<otto at ottodestruct.com> wrote:
> That was only on old PHP versions on Windows machines. On Linux boxes,
> PHP should support 1901-2038. PHP 5.10 and up contains fixes for this,
> I think.
>
> However, yes, it's still limited to 2038 due to 32-bit dates. The
> standard method of working around this is to use ADOdb's time
> functions, or the Pear Date library, both of which use 64-bit dates.
>
> -Otto
> Sent from Memphis, TN, United States
>
>
> On Wed, Jul 15, 2009 at 4:23 PM, John
> Myrstad<john.ivar.myrstad at gmail.com> wrote:
>> When using the Simili timeline in WordPress its not possible to have posts
>> older than 1.1.1970. As I understand this is a PHP issue, but are there any
>> workarounds or hacks that may remove the limit ? As I understand its done
>> with MovableType or TextPattern.
>>
>> http://www.simile-widgets.org/timeline/
>> http://wordpress.org/extend/plugins/wp-simile-timeline/
>>
>> John Myrstad
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>
More information about the wp-hackers
mailing list