bug69806.phpt 259 B

123456789101112
  1. --TEST--
  2. Bug #69806 (Incorrect date from timestamp)
  3. --SKIPIF--
  4. <?php if (PHP_INT_SIZE != 8) die("skip 64-bit only"); ?>
  5. --FILE--
  6. <?php
  7. ini_set('date.timezone', 'America/New_York');
  8. echo date('Y-m-d H:i:s', 2377224000)."\n";
  9. ?>
  10. --EXPECT--
  11. 2045-05-01 00:00:00