Drupal 5.7
installed date-5.x-1.8
CCK

I need to store dates going back to 1820 but do not seem to be able to store them earlier that 1901. Whenever I enter a date prior to 1901, the data is not save to the MySQL database

I have heard that PHP4 presented issues with regard to date calculations. I was running PH4 but now PHP5. Database was created on PHP4.

Any tips or ideas?

Comments

vm’s picture

do you have the adodb-time library installed ?

per the install txt,

* Optional * Download the adodb date library from
http://phplens.com/phpeverywhere/adodb_date_library
and add it to the folder. If included, it will allow you to use dates from
the year 100 to the year 3000. Without it, most date handling is limited to
1970 to 2038.

ep4it’s picture

Thanks for your help. That sorted the issue.

vm’s picture

Status: Active » Closed (fixed)