Home
last modified time | relevance | path

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

12345678910>>...32

/PHP-7.3/ext/standard/tests/time/
H A Dstrptime_error.phpt11 /* Prototype : array strptime ( string $date , string $format )
12 * Description: Parse a time/date generated with strftime()
28 $date = strftime($format, $timestamp);
29 var_dump( strptime($date) );
33 var_dump( strptime($date, $format, $extra_arg) );
/PHP-7.3/ext/date/tests/
H A DDateTime_serialize.phpt22 ["date"]=>
29 string(125) "O:8:"DateTime":3:{s:4:"date";s:26:"2005-07-14 22:30:41.000000";s:13:"timezone_type";i:…
31 ["date"]=>
H A DDateTime_setDate_basic1.phpt6 * Description: Resets the current date of the DateTime object to a different date.
7 * Source code: ext/date/php_date.c
H A Dbug67118.phpt4 date.timezone=Europe/Berlin
17 echo "Bad date" . $this->format("Y") . "\n";
27 Bad date
H A Ddate_diff1.phpt4 date.timezone=Europe/London
16 ["date"]=>
24 ["date"]=>
H A Dbug41842.phpt7 $date = new DateTime('-2007-06-28 00:00:00');
8 echo $date->format(DATE_ISO8601);
H A DDateTime_setISODate_basic1.phpt6 …* Description: Set a date according to the ISO 8601 standard - using weeks and day offsets rather …
7 * Source code: ext/date/php_date.c
23 // What date is week week 30 day 3 ?
27 // What date was is last year ?
H A Ddate_isodate_set_basic1.phpt6 …* Description: Set a date according to the ISO 8601 standard - using weeks and day offsets rather …
7 * Source code: ext/date/php_date.c
23 // What date is week week 30 day 3 ?
27 // What date was is last year ?
H A Dbug61642.phpt4 date.timezone=UTC
15 $date = new DateTime($startdate);
17 $header[] = $date->format('Y-m-d D');
28 $date = new DateTime($startdate);
29 $date->modify("{$days} weekdays");
31 $line[] = $date->format('Y-m-d D');
H A Dbug33452.phpt6 echo date('Y-W', strtotime('2005-1-1')), "\n";
7 echo date('o-W', strtotime('2005-1-1')), "\n";
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 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 DDateTime_clone_basic2.phpt39 ["date"]=>
51 ["date"]=>
67 ["date"]=>
83 ["date"]=>
H A Ddate_default_timezone_get-1.phpt8 date.timezone=
13 echo date('e'), "\n";
H A Dbug35218.phpt6 $date = 'Sun, 13 Nov 2005 22:56:10 -0800 (PST)';
9 var_dump(strtotime($date));
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 Dbug33536.phpt7 print date("Y-m-d", strtotime("monkey")) ."\n";
8 print date("Y-m-d", false) ."\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 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 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
21 print "datestr " . date ("H:i:s A F j Y T", $tStamp) . "\n";
30 print "datestr " . date ("H:i:s A F j Y T", $tStamp) . "\n";
/PHP-7.3/ext/intl/tests/
H A Dmsgfmt_format_simple_types_numeric_strings.phpt4 date.timezone=Atlantic/Azores
22 date {f,date}
52 date May %d, 2012
H A Ddateformat_bug65683_2.phpt5 $date = date_create('1970-01-01');
7 var_dump(datefmt_format_object($date, null, 'fr_FR'));

Completed in 18 milliseconds

12345678910>>...32