Home
last modified time | relevance | path

Searched refs:strtotime (Results 1 – 25 of 159) sorted by last modified time

1234567

/php-src/ext/date/
H A Dphp_date.c1080 PHP_FUNCTION(strtotime) in PHP_FUNCTION() argument
H A Dphp_date.stub.php101 function strtotime(string $datetime, ?int $baseTimestamp = null): int|false {} function
H A Dphp_date_arginfo.h519 ZEND_FUNCTION(strtotime);
620 ZEND_FE(strtotime, arginfo_strtotime)
/php-src/ext/intl/tests/
H A Dgregoriancalendar___construct_variant1.phpt13 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 Dcalendar_set_variation1.phpt16 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 Dcalendar_getDayOfWeekType_basic.phpt18 $intlcal->setTime(strtotime('2012-02-29 00:00:00 +0000') * 1000);
H A Dcalendar_getDayOfWeekType_basic2.phpt18 $intlcal->setTime(strtotime('2012-02-29 00:00:00 +0000') * 1000);
H A Dcalendar_clear_variation1.phpt19 $intlcal->setTime(strtotime('2012-02-29 05:06:07 +0000') * 1000);
27 strtotime('2012-01-29 05:06:07 +0000') * 1000.
H A Dcalendar_set_date.phpt12 var_dump($intlcal->getTime(), strtotime('2012-02-29 00:00:00 +0000') * 1000.);
H A Dcalendar_set_date_time.phpt13 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 Dcalendar_get_setRepeatedWallTimeOption_basic.phpt19 strtotime('2012-10-28 02:30:00 +0100'),
28 strtotime('2012-10-28 02:30:00 +0200'),
H A Ddateformat_formatObject_calendar_variant5.phpt25 $cal->setTime(strtotime('2012-01-01 00:00:00')*1000.);
H A Ddateformat_formatObject_calendar_variant_icu72-1.phpt24 $cal->setTime(strtotime('2012-01-01 00:00:00')*1000.);
H A Ddateformat_calendars_variant3.phpt29 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 Ddateformat_calendars_variant_icu72-1.phpt28 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 Ddateformat_create_default.phpt12 $ts = strtotime('2012-01-01 00:00:00 UTC');
H A Ddateformat_create_default_icu72-1.phpt12 $ts = strtotime('2012-01-01 00:00:00 UTC');
H A Dtimezone_getOffset_basic.phpt12 $date = strtotime("1 July 2012 +0000");
/php-src/ext/date/tests/
H A Dstrtotime2.phpt2 strtotime() on date constants
28 echo ((strtotime(date(constant($const), $time)) === $time) ? "OK" : "FAIL") . "\n";
H A Ddate_constants.phpt24 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 Dbug-gh11600.phpt12 $timeString = $formatter->format(strtotime('2023-07-11 16:02'));
14 $timestamp = strtotime("2023-07-11 {$timeString}");
H A Dbug70245.phpt2 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 Dbug40861.phpt2 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 Dstrptime_basic.phpt21 $tstamp = strtotime($input);
H A Dstrptime_parts.phpt19 $tstamp = strtotime($input);

Completed in 42 milliseconds

1234567