1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Files
archived-php-src/ext/date/tests/bug69806.phpt

13 lines
259 B
PHP

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