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

Support dates <=1970 and >=2038

List posts in the topic

question Support dates <=1970 and >=2038

msg# 1
depth:
0
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

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!