mktime() < 1970 и windows

berkut

Новичок
mktime() < 1970 и windows

Есть-ли девайс для решения проблемы?
 

baev

‹°°¬•
Команда форума
cygwin?
(честно говоря, порт PHP под cygwin запускал, но вот на mktime() внимание не обратил...)
 

mani13

Новичок
вариант А:
http://pecl.php.net/package/date_time
вроде ещё что-то было...(я сам с этим не работал, не нужно было...)
вариант Б:
пинать Microsoft, чтобы они сделали поддержку отрицательного timestamp
 

Astral Man

We Will Rock You
berkut
http://phplens.com/phpeverywhere/adodb_date_library
Supported Date Range

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( ).
 
Сверху