summaryrefslogtreecommitdiff
path: root/ext/date/tests/timezone-configuration.phpt
blob: 3e4340c38c5b1f02531df693b69bc4c596d2801b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
timezone configuration [1]
--INI--
date.timezone=GMT
--FILE--
<?php
    date_default_timezone_set('Europe/Oslo');
    echo strtotime("2005-06-18 22:15:44"), "\n";

    date_default_timezone_set('Europe/London');
    echo strtotime("2005-06-18 22:15:44"), "\n";

    date_default_timezone_set('Europe/Oslo');
    echo strtotime("2005-06-18 22:15:44"), "\n";
?>
--EXPECT--
1119125744
1119129344
1119125744