php-src/ext/date/tests/bug29585.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
191 B
PHP

--TEST--
Bug #29585 (Support week numbers in strtotime())
--FILE--
<?php
date_default_timezone_set("GMT");
echo gmdate("Y-m-d H:i:s", strtotime("2004W30"));
?>
--EXPECT--
2004-07-19 00:00:00