php-src/ext/date/tests/bug28599.phpt
Derick Rethans bf23d8d2b8 - Renamed date_timezone_set/get() to date_default_timezone_set/get().
- Added missing proto's and folding marks.
2005-07-04 21:27:26 +00:00

10 lines
221 B
PHP

--TEST--
Bug #28599 (strtotime fails with zero base time)
--FILE--
<?php
date_default_timezone_set("Europe/Amsterdam");
print gmdate("d-m-Y H:i:s", strtotime("+30 minutes", 1100535573));
?>
--EXPECT--
15-11-2004 16:49:33