![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: date.timezone setting [2] ! 3: --FILE-- ! 4: <?php ! 5: date_default_timezone_set('Europe/Oslo'); ! 6: putenv('TZ='); // clean TZ so that it doesn't bypass the ini option ! 7: echo strtotime("2005-06-18 22:15:44"); ! 8: ?> ! 9: --EXPECT-- ! 10: 1119125744