Hi,
I would like to note that I am aware of that 32 bit systems will not
work after 2038. But does that mean that they can not do simple date
conversion?
<?php
$now = date('Y-m-d H:i:s', time());
$future = "2100-01-01 01:01:01";
$now_stt = strtotime($now);
$future_stt = strtotime($future);
var_dump($now);
var_dump($now_stt);
var_dump($future);
var_dump($future_stt);
?>
32-bit system
string(19) "2011-06-27 09:17:10" int(1309159030) string(19)
"2100-01-01 01:01:01" bool(false)
64-bit system
string(19) "2011-06-27 09:18:28" int(1309159108) string(19)
"2100-01-01 01:01:01" int(4102444861)
--
Best regards,
Michal
http://eventhorizon.pl/