summaryrefslogtreecommitdiff
path: root/ext/date/tests/timezone-configuration.phpt
blob: b39585303301869adfb8d091b9f220752128ddef (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