Searched refs:strtotime (Results 1 – 25 of 159) sorted by last modified time
1234567
/php-src/ext/date/ |
H A D | php_date.c | 1080 PHP_FUNCTION(strtotime) in PHP_FUNCTION() argument
|
H A D | php_date.stub.php | 101 function strtotime(string $datetime, ?int $baseTimestamp = null): int|false {} function
|
H A D | php_date_arginfo.h | 519 ZEND_FUNCTION(strtotime); 620 ZEND_FE(strtotime, arginfo_strtotime)
|
/php-src/ext/intl/tests/ |
H A D | gregoriancalendar___construct_variant1.phpt | 13 var_dump($intlcal->getTime(), (float)strtotime('2012-02-29 16:00:00') * 1000); 16 var_dump($intlcal->getTime(), (float)strtotime('2012-02-29 16:07:08') * 1000);
|
H A D | calendar_set_variation1.phpt | 16 strtotime('2012-02-29 00:00:00 +0000') * 1000.); 21 strtotime('2012-02-29 23:58:00 +0000') * 1000.); 25 strtotime('2012-02-29 23:58:31 +0000') * 1000.);
|
H A D | calendar_getDayOfWeekType_basic.phpt | 18 $intlcal->setTime(strtotime('2012-02-29 00:00:00 +0000') * 1000);
|
H A D | calendar_getDayOfWeekType_basic2.phpt | 18 $intlcal->setTime(strtotime('2012-02-29 00:00:00 +0000') * 1000);
|
H A D | calendar_clear_variation1.phpt | 19 $intlcal->setTime(strtotime('2012-02-29 05:06:07 +0000') * 1000); 27 strtotime('2012-01-29 05:06:07 +0000') * 1000.
|
H A D | calendar_set_date.phpt | 12 var_dump($intlcal->getTime(), strtotime('2012-02-29 00:00:00 +0000') * 1000.);
|
H A D | calendar_set_date_time.phpt | 13 var_dump($intlcal->getTime(), strtotime('2012-02-29 23:58:00 +0000') * 1000.); 16 var_dump($intlcal->getTime(), strtotime('2012-02-29 23:58:31 +0000') * 1000.);
|
H A D | calendar_get_setRepeatedWallTimeOption_basic.phpt | 19 strtotime('2012-10-28 02:30:00 +0100'), 28 strtotime('2012-10-28 02:30:00 +0200'),
|
H A D | dateformat_formatObject_calendar_variant5.phpt | 25 $cal->setTime(strtotime('2012-01-01 00:00:00')*1000.);
|
H A D | dateformat_formatObject_calendar_variant_icu72-1.phpt | 24 $cal->setTime(strtotime('2012-01-01 00:00:00')*1000.);
|
H A D | dateformat_calendars_variant3.phpt | 29 var_dump($fmt1->format(strtotime('2012-01-01 00:00:00 +0000'))); 30 var_dump($fmt2->format(strtotime('2012-01-01 00:00:00 +0000'))); 31 var_dump($fmt3->format(strtotime('2012-01-01 00:00:00 +0000')));
|
H A D | dateformat_calendars_variant_icu72-1.phpt | 28 var_dump($fmt1->format(strtotime('2012-01-01 00:00:00 +0000'))); 29 var_dump($fmt2->format(strtotime('2012-01-01 00:00:00 +0000'))); 30 var_dump($fmt3->format(strtotime('2012-01-01 00:00:00 +0000')));
|
H A D | dateformat_create_default.phpt | 12 $ts = strtotime('2012-01-01 00:00:00 UTC');
|
H A D | dateformat_create_default_icu72-1.phpt | 12 $ts = strtotime('2012-01-01 00:00:00 UTC');
|
H A D | timezone_getOffset_basic.phpt | 12 $date = strtotime("1 July 2012 +0000");
|
/php-src/ext/date/tests/ |
H A D | strtotime2.phpt | 2 strtotime() on date constants 28 echo ((strtotime(date(constant($const), $time)) === $time) ? "OK" : "FAIL") . "\n";
|
H A D | date_constants.phpt | 24 var_dump(date($const, strtotime("1 Jul 06 14:27:30 +0200"))); 25 var_dump(date($const, strtotime("2006-05-30T14:32:13+02:00")));
|
H A D | bug-gh11600.phpt | 12 $timeString = $formatter->format(strtotime('2023-07-11 16:02')); 14 $timestamp = strtotime("2023-07-11 {$timeString}");
|
H A D | bug70245.phpt | 2 Bug #70245 (strtotime does not emit warning when 2nd parameter is object or string) 7 var_dump(strtotime('-1 month', $d)); 13 TypeError: strtotime(): Argument #2 ($baseTimestamp) must be of type ?int, DateTime given
|
H A D | bug40861.phpt | 2 Bug #40861 (Multiple +/- on relative units breaks strtotime()) 8 $ts = strtotime('2000-01-01 12:00:00'); 9 $result = date("Y-m-d H:i:s", strtotime("+$offset minutes", $ts)); 13 $ts = strtotime('2000-01-01 12:00:00'); 14 $result = date("Y-m-d H:i:s", strtotime("+$offset minutes", $ts)); 18 $ts = strtotime('2000-01-01 12:00:00'); 19 $result = date("Y-m-d H:i:s", strtotime("-$offset minutes", $ts)); 24 $ts = strtotime('2000-01-01 12:00:00'); 25 $result = date("Y-m-d H:i:s", strtotime("+$offset minutes", $ts));
|
/php-src/ext/standard/tests/time/ |
H A D | strptime_basic.phpt | 21 $tstamp = strtotime($input);
|
H A D | strptime_parts.phpt | 19 $tstamp = strtotime($input);
|
Completed in 42 milliseconds
1234567