Гость
06 Апр 2016 12:58

This is a Cobalt 9 question.

Do you plan to support "older" dates, e.g. "Sept 12 1345" ?

Thank you!

Последние изменения: 07 Апр 2016


Sergey
Total posts: 13,748
06 Апр 2016 14:18

I am not sure it is possible. I do not understand completely but it looks like PHP date functions can only fork with dates when UNIX era started or something like this. If php 7 will suppport it then Cobalt will support it too.


Jeff VIP
Total posts: 745
07 Апр 2016 00:41

strtotime() has a range limit between Fri, 13 Dec 1901 20:45:54 GMT and Tue, 19 Jan 2038 03:14:07 GMT; although prior to PHP 5.1.0 this range was limited from 01-01-1970 to 19-01-2038 on some operating systems (Windows).

http://stackoverflow.com/questions/2871264/using-strtotime-for-dates-before-1970

I'm using Cobalt 8 and I have records with dates starting from mid 1600 without any issues, so I presume I can do the same in Cobalt 9?

old-dates


Sergey
Total posts: 13,748
07 Апр 2016 03:17

Jeff so I presume I can do the same in Cobalt 9?

Absolutely.

Jeff I'm using Cobalt 8 and I have records with dates starting from mid 1600 without any issues

Then it looks like answer to Guest is "Yes Cobalt will support those dates."

Работает на Cobalt