![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: Format timestamp in DST test 3: --INI-- 4: date.timezone=CEST 5: --FILE-- 6: <?php 7: error_reporting(E_ALL & ~E_WARNING); // hide e_warning warning about timezones 8: var_dump( date_create( '@1202996091' )->format( 'c' ) ); 9: ?> 10: --EXPECT-- 11: string(25) "2008-02-14T13:34:51+00:00"