PEAK XOOPS - Support dates <=1970 and >=2038 in englishin japanese

Support dates <=1970 and >=2038

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2004/1/19 1:05
isorokin  ÆóÅùʼ From: Russia, Moscow  Posts: 4
Hallo from Russia! I think, your module will be better for historical events if you use "adodb-time.inc.php"

Why don`t you use it?

Library: adodb-time.zip

This library replaces native php functions as follows:

getdate() with adodb_getdate()
date() with adodb_date()
gmdate() with adodb_gmdate()
mktime() with adodb_mktime()
gmmktime() with adodb_gmmktime()

"Dates from 100 A.D. to 3000 A.D. and later have been tested.
The minimum is 100 A.D. as <100 will invoke the automatic 2-digit => 4-digit year conversion.
The maximum is billions of years in the future,
but this is a theoretical limit as the computation of that year
would take too long with the current implementation of adodb_mktime( )."

More information : http://php.weblogs.com/adodb_date_time_library

Then you can realy support dates <=1970 and >=2038!!
Votes:0 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2004/1/22 11:39
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi isorokin.

Your suggestion is very interesting.
But the implementation with adodb_time needs some drastic remodeling of piCal.
I will implement piCal with adodb_time after the version 0.7 or later.

Thank you for the suggestion.
Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!