Home
last modified time | relevance | path

Searched refs:date (Results 151 – 175 of 583) sorted by relevance

12345678910>>...24

/PHP-8.1/ext/date/tests/
H A Ddate_create_from_format_basic2.phpt7 date.timezone=UTC
10 var_dump(date_create_from_format('Y-m-d', '2009---01')); // invalid date
H A Dbug28024.phpt4 date.timezone=Europe/Berlin
8 echo date("Y-m-d H:i:s T", strtotime("17:00 2004-01-01"));
H A DDateTime_clone_basic2.phpt38 ["date"]=>
50 ["date"]=>
66 ["date"]=>
82 ["date"]=>
H A Ddate_get_last_errors_basic.phpt7 date.timezone=UTC
10 var_dump(date_get_last_errors()); // no date was parsed, so no errors
H A Dbug35218.phpt6 $date = 'Sun, 13 Nov 2005 22:56:10 -0800 (PST)';
9 var_dump(strtotime($date));
H A Ddate_default_timezone_get-1.phpt8 date.timezone=
13 echo date('e'), "\n";
H A Dbug35422.phpt7 echo date(DATE_ISO8601, strtotime("July 1, 2000 00:00:00 UTC")) . "\n";
8 echo date(DATE_ISO8601, strtotime("July 1, 2000 00:00:00 GMT")) . "\n";
H A Dbug73460-001.phpt5 $date = new DateTime('2016-11-05 23:45:00', new DateTimeZone('America/New_York'));
8 echo $date->format('Y/m/d H:i e T'), "\n";
10 $date->add(new DateInterval('PT15M'));
H A Dbug81565.phpt2 Bug #81565 (date parsing fails when provided with timezones including seconds)
16 'date' => '0021-08-21 00:00:00.000000',
H A Dbug51987.phpt2 Bug #51987 (Datetime fails to parse an ISO 8601 ordinal date (extended format))
11 ["date"]=>
H A Dbug33536.phpt7 print date("Y-m-d", strtotime("monkey")) ."\n";
8 print date("Y-m-d", false) ."\n";
H A Dbug79716.phpt2 Bug #79716 (Invalid date time created (with day "00"))
15 ["date"]=>
H A Dbug51934.phpt7 echo date("Y-m-d H:i:s", strtotime("2010-05-27 19:18 4 Sunday ago")), "\n";
8 echo date("Y-m-d H:i:s", strtotime("2010-05-27 19:18 4 Sundays ago")), "\n";
H A Ddate_default_timezone_get-4.phpt4 date.timezone=Incorrect/Zone
10 Warning: date_default_timezone_get(): Invalid date.timezone value 'Incorrect/Zone', we selected the…
H A Dbug33415-1.phpt10 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
12 print "result=".date("l Y-m-d H:i:s T I", $strtotime_tstamp)."\n";
18 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
20 print "result=".date("l Y-m-d H:i:s T I", $strtotime_tstamp)."\n";
H A Dbug33532.phpt2 Bug #33532 (Different output for strftime() and date())
5 date.timezone=UTC
22 print "datestr " . date ("H:i:s A F j Y T", $tStamp) . "\n";
31 print "datestr " . date ("H:i:s A F j Y T", $tStamp) . "\n";
H A Dbug35885.phpt8 $ts = date(DATE_ISO8601, strtotime('NOW', $time));
9 $ts2 = date(DATE_ISO8601, $time);
H A Dini_set_incorrect.phpt6 ini_set("date.timezone", "Incorrect/Zone");
10 Warning: ini_set(): Invalid date.timezone value 'Incorrect/Zone', we selected the timezone 'UTC' fo…
H A Dtimezone_version_get_basic1.phpt2 timezone_version_get: Test that timezone_location_get returns a date concatenated with a dot and a …
7 date.timezone=UTC
H A Dgh9699.phpt6 $date = new DateTimeImmutable('2022-10-09 02:41:54.515330', new DateTimeZone('America/Los_Angeles')…
9 echo $date->diff($now)->format("%R %Y %M %D %H %I %S %F"), "\n";
H A Dbug21966.phpt2 Bug #21966 (date() or mktime() returning bad value for mktime month param of '2')
4 date.timezone=Europe/London
H A Dbug33563.phpt6 $strCurrDate = date('Y-m-d H:i:s',strtotime('2005-06-30 21:04:23'));
7 $strMonAfter = date('Y-m-d H:i:s',strtotime('+1 month',strtotime($strCurrDate)));
H A Dbug35499.phpt2 Bug #35499 (strtotime() does not handle whitespace around the date string)
7 echo date(DATE_ISO8601, strtotime("11/20/2005 8:00 AM \r\n")) . "\n";
8 echo date(DATE_ISO8601, strtotime(" 11/20/2005 8:00 AM \r\n")) . "\n";
/PHP-8.1/ext/intl/tests/
H A Ddateformat_bug65683_2.phpt7 $date = date_create('1970-01-01');
9 var_dump(datefmt_format_object($date, null, 'fr_FR'));
/PHP-8.1/sapi/fpm/tests/
H A Dbug75212-php-value-in-user-ini.phpt21 php_value[date.timezone]=Europe/London
27 var_dump(ini_get('memory_limit'), ini_get('date.timezone'));
33 date.timezone=Europe/Paris

Completed in 66 milliseconds

12345678910>>...24