Home
last modified time | relevance | path

Searched refs:strtotime (Results 51 – 75 of 159) sorted by last modified time

1234567

/php-src/ext/intl/tests/
H A Ddateformat_timezone_arg_variations4.phpt12 $ts = strtotime('2012-01-01 00:00:00 UTC');
H A Dcalendar_add_basic.phpt12 $time = strtotime('2012-02-29 00:00:00 +0000');
13 $time2 = strtotime('2012-03-01 05:06:07 +0000');
H A Dcalendar_fieldDifference_basic.phpt13 $intlcal->setTime(strtotime('2012-02-29 05:06:07 +0000') * 1000);
16 strtotime('2012-02-29 06:06:08 +0000') * 1000,
21 $intlcal->setTime(strtotime('2012-02-29 05:06:07 +0000') * 1000);
25 strtotime('2012-02-29 06:07:08 +0000') * 1000,
H A Dcalendar_getTime_basic.phpt18 $time = strtotime('2012-02-29 00:00:00 +0000');
H A Dcalendar_getXMaximum_basic.phpt13 $intlcal->setTime(strtotime('2012-02-29 05:06:07 +0000') * 1000);
H A Dcalendar_getXMinimum_basic.phpt13 $intlcal->setTime(strtotime('2012-02-29 05:06:07 +0000') * 1000);
H A Dcalendar_inDaylightTime_basic.phpt13 $intlcal->setTime(strtotime('2012-01-01') * 1000);
15 $intlcal->setTime(strtotime('2012-04-01') * 1000);
H A Dcalendar_isWeekend_basic.phpt13 var_dump($intlcal->isWeekend(strtotime('2012-02-29 12:00:00 +0000') * 1000));
14 var_dump(intlcal_is_weekend($intlcal, strtotime('2012-02-29 12:00:00 +0000') * 1000));
15 var_dump($intlcal->isWeekend(strtotime('2012-03-11 12:00:00 +0000') * 1000));
H A Dcalendar_setTime_basic.phpt12 $time = strtotime('2012-02-29 00:00:00 +0000');
H A Dcalendar_fromDateTime_basic.phpt14 strtotime('2012-01-01 00:00:00 Europe/Rome') * 1000.,
23 strtotime('2012-01-01 00:00:00 PST') * 1000.,
33 strtotime('2012-01-01 00:00:00 +03:40') * 1000.,
/php-src/ext/date/tests/
H A Dstrtotime-mysql-64bit.phpt2 strtotime() and mysql timestamps (64 bit)
15 $time = strtotime($date);
H A Dstrtotime-mysql.phpt2 strtotime() and mysql timestamps (32 bit)
15 $time = strtotime($date);
28 Warning: strtotime(): Epoch doesn't fit in a PHP integer in %s on line %d
H A Dstrtotime-relative.phpt2 strtotime() with relative offsets
39 // offset around 25 years (can't do much more reliably with strtotime)
47 …echo "$direction$offset: " . date(DATE_ISO8601, strtotime("$direction$offset", $base_time)) . "\n";
H A Dstrtotime.phpt2 strtotime() function
7 $d[] = strtotime("2005-07-14 22:30:41");
8 $d[] = strtotime("2005-07-14 22:30:41 GMT");
9 $d[] = strtotime("@1121373041");
10 $d[] = strtotime("@1121373041 CEST");
H A Dstrtotime3-64bit.phpt2 strtotime() function (64 bit)
38 $t = strtotime($str, $time);
H A Dstrtotime3.phpt2 strtotime() function (32 bit)
38 $t = strtotime($str, $time);
57 Warning: strtotime(): Epoch doesn't fit in a PHP integer in %s on line %d
H A Dstrtotime_basic.phpt2 strtotime() function - a test to show the difference in behaviour between 'first' and '1', "second"…
14 var_dump(date('Y-m-d', strtotime('1 Monday December 2008')));
19 var_dump(date('Y-m-d', strtotime('2 Monday December 2008')));
24 var_dump(date('Y-m-d', strtotime('3 Monday December 2008')));
28 var_dump(date('Y-m-d', strtotime('first Monday December 2008')));
32 var_dump(date('Y-m-d', strtotime('second Monday December 2008')));
36 var_dump(date('Y-m-d', strtotime('third Monday December 2008')));
H A Dstrtotime_basic2.phpt2 strtotime() with return false
10 var_dump(strtotime('mayy 2 2009')); // misspelled month name
H A Dstrtotime_variation_scottish.phpt6 var_dump(date('H:i:s', strtotime('back of 7')));
7 var_dump(date('H:i:s', strtotime('front of 7')));
8 var_dump(date('H:i:s', strtotime('back of 19')));
9 var_dump(date('H:i:s', strtotime('front of 19')));
H A Dtimezone-configuration.phpt8 echo strtotime("2005-06-18 22:15:44"), "\n";
11 echo strtotime("2005-06-18 22:15:44"), "\n";
14 echo strtotime("2005-06-18 22:15:44"), "\n";
H A Dbug81504.phpt9 foreach ($tz->getTransitions(strtotime("1996-01-01"), strtotime("1997-12-31")) as $tr) {
H A Ddate_create-relative.phpt14 // Most offsets tested in strtotime-relative.phpt. These are tests for dates outside the 32-bit ran…
H A Ddate_default_timezone_set-1.phpt12 $date1 = strtotime("2005-01-12 08:00:00");
13 $date2 = strtotime("2005-07-12 08:00:00");
15 $date3 = strtotime("2005-01-12 08:00:00");
16 $date4 = strtotime("2005-07-12 08:00:00");
H A Ddate_sun_info_001.phpt6 $sun_info = date_sun_info(strtotime("2006-12-12"), 31.7667, 35.2333);
H A Ddate_sun_info_002.phpt6 $sun_info = date_sun_info(strtotime("2007-04-13 08:31:15 UTC"), 59.21, 9.61);

Completed in 23 milliseconds

1234567