Home
last modified time | relevance | path

Searched refs:UTC (Results 1 – 25 of 265) sorted by relevance

1234567891011

/PHP-7.1/ext/date/tests/
H A Dbug45529.phpt2 Bug #45529 (UTC not properly recognised as timezone identifier while parsing)
6 $tz1 = new DateTimeZone('UTC');
7 $tz2 = date_create('UTC')->getTimeZone();
18 UTC
19 UTC
H A D015.phpt5 date_default_timezone_set('UTC');
17 string(3) "UTC"
18 string(3) "UTC"
20 string(3) "UTC"
H A D010.phpt5 date_default_timezone_set('UTC');
28 string(7) "Etc/UTC"
46 string(3) "UTC"
55 string(3) "UTC"
H A Dbug54340.phpt4 date.timezone=UTC
26 string(3) "UTC"
34 string(3) "UTC"
42 string(3) "UTC"
H A Dtimezone_name_from_abbr_variation3.phpt114 string(3) "UTC"
117 string(3) "UTC"
120 string(3) "UTC"
123 string(3) "UTC"
126 string(3) "UTC"
129 string(3) "UTC"
152 string(3) "UTC"
155 string(3) "UTC"
158 string(3) "UTC"
161 string(3) "UTC"
[all …]
H A Dtimezone_name_from_abbr_variation2.phpt114 string(3) "UTC"
117 string(3) "UTC"
120 string(3) "UTC"
123 string(3) "UTC"
126 string(3) "UTC"
129 string(3) "UTC"
152 string(3) "UTC"
155 string(3) "UTC"
158 string(3) "UTC"
161 string(3) "UTC"
[all …]
H A Dbug35422.phpt2 Bug #35422 (strtotime() does not parse times with UTC as timezone)
5 date_default_timezone_set("UTC");
7 echo date(DATE_ISO8601, strtotime("July 1, 2000 00:00:00 UTC")) . "\n";
H A Ddate-lenient-create.phpt5 $tz = new DateTimeZone("UTC");
51 [timezone] => UTC
72 [timezone] => UTC
93 [timezone] => UTC
114 [timezone] => UTC
134 [timezone] => UTC
H A Ddate_timestamp_set_nullparam2.phpt6 date.timezone = UTC;
10 $dftz021 = date_default_timezone_get(); //UTC
23 string(3) "UTC"
H A Ddate_timestamp_set.phpt6 date.timezone = UTC;
10 $dftz021 = date_default_timezone_get(); //UTC
19 string(47) "021 => (1234567890) => UTC 2009-Feb-13 23:31:30"
H A Dbug54316.phpt4 date.timezone=UTC
19 string(3) "UTC"
27 string(3) "UTC"
H A Ddate_time_fractions_serialize.phpt4 date.timezone=UTC
17 …3:{s:4:"date";s:26:"2016-10-03 12:47:18.819313";s:13:"timezone_type";i:3;s:8:"timezone";s:3:"UTC";}
24 string(3) "UTC"
H A Dtimezones-list.phpt8 $d = timezone_identifiers_list( DateTimezone::EUROPE | DateTimezone::UTC );
20 echo in_array( "UTC", $a ) ? "found" : "notfound", "\n";
21 echo in_array( "UTC", $b ) ? "found" : "notfound", "\n";
22 echo in_array( "UTC", $c ) ? "found" : "notfound", "\n";
23 echo in_array( "UTC", $d ) ? "found" : "notfound", "\n\n";
H A Dbug73426.phpt4 date.timezone=UTC
23 string(3) "UTC"
31 string(3) "UTC"
H A D012.phpt5 date_default_timezone_set('UTC');
28 string(3) "UTC"
41 string(3) "UTC"
50 string(3) "UTC"
/PHP-7.1/ext/calendar/tests/
H A Dunixtojd.phpt6 TZ=UTC
10 putenv('TZ=UTC');
11 // getenv('TZ') returns 'UTC' here
13 …t to GetEnvironmentVariableA just before tzset() is called to check the value of 'TZ' returns 'UTC'
16 // on Windows, the only thing that gets this test to pass is to put TZ=UTC in --ENV-- section
17 // -since putenv() is written to call tzset() when env var is TZ, I assume that putenv("TZ=UTC") …
21 // -uses --INI-- section with date.timezone=UTC
22 // -uses putenv('TZ=UTC')
23 // date.timezone=UTC
/PHP-7.1/ext/intl/tests/
H A Ddateformat_get_set_calendar.phpt13 $ts = strtotime('2012-01-01 00:00:00 UTC');
33 $cal = IntlCalendar::createInstance("UTC");
40 dimanche 1 janvier 2012 ap. J.-C. 03:00:00 UTC+03:00
45 dimanche 8 Safar 1433 AH 03:00:00 UTC+03:00
50 dimanche 1 janvier 2012 ap. J.-C. 00:00:00 UTC
53 string(3) "UTC"
H A Ddateformat_get_set_calendar_variant2.phpt13 $ts = strtotime('2012-01-01 00:00:00 UTC');
33 $cal = IntlCalendar::createInstance("UTC");
40 dimanche 1 janvier 2012 ap. J.-C. 03:00:00 UTC+03:00
45 dimanche 8 safar 1433 AH 03:00:00 UTC+03:00
50 dimanche 1 janvier 2012 ap. J.-C. 00:00:00 UTC
53 string(3) "UTC"
H A Ddateformat_get_set_calendar_variant3.phpt14 $ts = strtotime('2012-01-01 00:00:00 UTC');
34 $cal = IntlCalendar::createInstance("UTC");
41 dimanche 1 janvier 2012 ap. J.-C. à 03:00:00 UTC+03:00
46 dimanche 8 safar 1433 AH à 03:00:00 UTC+03:00
51 dimanche 1 janvier 2012 ap. J.-C. à 00:00:00 UTC
54 string(3) "UTC"
H A Dbug74298.phpt13 'UTC',
16 ))->format(new \DateTime('2017-01-01 01:02:03.123456', new \DateTimeZone('UTC'))));
22 'UTC',
25 )->format(new \DateTime('2017-01-01 01:02:03.123456', new \DateTimeZone('UTC'))));
H A Ddateformat_create_cal_arg.phpt13 $ts = strtotime('2012-01-01 00:00:00 UTC');
15 $cal = new IntlGregorianCalendar('UTC', NULL);
19 $cal = IntlCalendar::createInstance('UTC', 'en@calendar=islamic');
24 $cal = new IntlGregorianCalendar('UTC', NULL);
37 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, 'UTC', IntlDateFormatter::TRADITIONAL);
40 $df = new IntlDateFormatter('es_ES', 0, 0, 'UTC', 0);
H A Ddateformat_create_cal_arg_variant2.phpt13 $ts = strtotime('2012-01-01 00:00:00 UTC');
15 $cal = new IntlGregorianCalendar('UTC', NULL);
19 $cal = IntlCalendar::createInstance('UTC', 'en@calendar=islamic');
24 $cal = new IntlGregorianCalendar('UTC', NULL);
37 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, 'UTC', IntlDateFormatter::TRADITIONAL);
40 $df = new IntlDateFormatter('es_ES', 0, 0, 'UTC', 0);
H A Ddateformat_create_cal_arg_variant3.phpt14 $ts = strtotime('2012-01-01 00:00:00 UTC');
16 $cal = new IntlGregorianCalendar('UTC', NULL);
20 $cal = IntlCalendar::createInstance('UTC', 'en@calendar=islamic');
25 $cal = new IntlGregorianCalendar('UTC', NULL);
38 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, 'UTC', IntlDateFormatter::TRADITIONAL);
41 $df = new IntlDateFormatter('es_ES', 0, 0, 'UTC', 0);
H A Ddateformat_create_cal_arg_variant4.phpt14 $ts = strtotime('2012-01-01 00:00:00 UTC');
16 $cal = new IntlGregorianCalendar('UTC', NULL);
20 $cal = IntlCalendar::createInstance('UTC', 'en@calendar=islamic');
25 $cal = new IntlGregorianCalendar('UTC', NULL);
38 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, 'UTC', IntlDateFormatter::TRADITIONAL);
41 $df = new IntlDateFormatter('es_ES', 0, 0, 'UTC', 0);
H A Ddateformat_create_cal_arg_variant5.phpt13 $ts = strtotime('2012-01-01 00:00:00 UTC');
15 $cal = new IntlGregorianCalendar('UTC', NULL);
19 $cal = IntlCalendar::createInstance('UTC', 'en@calendar=islamic');
24 $cal = new IntlGregorianCalendar('UTC', NULL);
37 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, 'UTC', IntlDateFormatter::TRADITIONAL);
40 $df = new IntlDateFormatter('es_ES', 0, 0, 'UTC', 0);

Completed in 37 milliseconds

1234567891011