Home
last modified time | relevance | path

Searched refs:day (Results 26 – 50 of 138) sorted by relevance

123456

/php-src/ext/date/tests/
H A Dmktime_basic1.phpt14 $day = 2;
21 var_dump( mktime($hour, $minute, $sec, $month, $day) );
22 var_dump( mktime($hour, $minute, $sec, $month, $day, $year) );
H A Dbug35630.phpt7 echo date(DATE_ISO8601, strtotime('5 january 2006+3day+1day')) . "\n";
H A Ddate_period_include_end.phpt10 foreach (new DatePeriod($start, $interval, $end, DatePeriod::INCLUDE_END_DATE) as $day) {
11 echo $day->format('Y-m-d') . "\n";
H A Dbug32086.phpt9 echo $i = strtotime("2004-11-01 +1 day"), "\n";
10 echo $j = strtotime("+1 day", $g), "\n";
20 echo $i = strtotime("2005-02-19 +1 day"), "\n";
21 echo $j = strtotime("+1 day", $g), "\n";
H A Dbug78751.phpt6 $oDateInterval = DateInterval::createFromDateString('1 day');
7 $oDays = new DatePeriod($oDay, $oDateInterval, $oDay->modify('+1 day'));
H A Ddate_period_exclude_start_and_include_end.phpt11 foreach ($dp as $day) {
12 echo $day->format('Y-m-d') . "\n";
H A Ddate_parse_basic1.phpt22 ["day"]=>
50 ["day"]=>
78 ["day"]=>
H A Dgmmktime_basic.phpt12 $day = 8;
16 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
H A Dgmdate_variation3.phpt2 Test gmdate() function : usage variation - Passing numeric representation of day formats.
17 'Numeric representation of day' => 'w',
45 --Numeric representation of day--
H A Ddate-parse-by-format001.phpt14 [day] => 8
35 [day] => 8
H A Dbug32555.phpt10 print date('r', strtotime('+1 day',$stamp)) ."\n";
11 print date('r', strtotime('+2 day',$stamp)) ."\n";
H A Dbug67109.phpt7 var_dump(date('d.m.Y',strtotime('last day of april')));
8 var_dump(date('d.m.Y',strtotime('Last day of april')));
H A Dbug30096.phpt21 function gm_date_check($hour, $minute, $second, $month, $day, $year) {
24 echo "gmmktime($hour,$minute,$second,$month,$day,$year): ";
27 $ts = gmmktime($hour, $minute, $second, $month, $day, $year);
H A Dbug51994.phpt5 $trans_date = '10153'; // 152nd day of year 2010 -> 03.06.2010
15 ["day"]=>
H A DDateTime_compare_basic1.phpt36 date_modify($obj1, "+1 day");
45 date_modify($obj2, "+1 day");
46 date_modify($obj3, "+1 day");
47 date_modify($obj4, "+1 day");
H A DDateTime_data-spring-type2-type3.inc14 * + prev: the day before the transition day 2010-03-13 18:38:28 EST
15 * + st: standard time on transition day 2010-03-14 00:10:20 EST
16 * + dt: daylight time on the transition day 2010-03-14 03:16:55 EDT
17 * + post: the day after the transition day 2010-03-15 19:59:59 EDT
H A DDateTime_data-spring-type3-type2.inc14 * + prev: the day before the transition day 2010-03-13 18:38:28 EST
15 * + st: standard time on transition day 2010-03-14 00:10:20 EST
16 * + dt: daylight time on the transition day 2010-03-14 03:16:55 EDT
17 * + post: the day after the transition day 2010-03-15 19:59:59 EDT
H A DDateTime_data-spring-type3-type3.inc14 * + prev: the day before the transition day 2010-03-13 18:38:28
15 * + st: standard time on transition day 2010-03-14 00:10:20
16 * + dt: daylight time on the transition day 2010-03-14 03:16:55
17 * + post: the day after the transition day 2010-03-15 19:59:59
H A Dbug54340.phpt9 $dt = new DateTime('first day of January 2011');
15 $dt = new DateTime('first day of January 2011');
H A Ddate_interval_create_from_date_string.phpt7 $string = '1 day'; //P1D
23 $string = '1 year + 1 day';
H A DDateTime_data-spring-type2-type2.inc14 * + prev: the day before the transition day 2010-03-13 18:38:28 EST
15 * + st: standard time on transition day 2010-03-14 00:10:20 EST
16 * + dt: daylight time on the transition day 2010-03-14 03:16:55 EDT
17 * + post: the day after the transition day 2010-03-15 19:59:59 EDT
/php-src/ext/calendar/
H A Dgregor.c146 int day; in SdnToGregorian() local
167 day = (temp % DAYS_PER_5_MONTHS) / 5 + 1; in SdnToGregorian()
184 *pDay = day; in SdnToGregorian()
H A Djulian.c163 int day; in SdnToJulian() local
189 day = (temp % DAYS_PER_5_MONTHS) / 5 + 1; in SdnToJulian()
206 *pDay = day; in SdnToJulian()
/php-src/ext/intl/calendar/
H A Dgregoriancalendar_methods.cpp233 zend_long year, month, day; in PHP_METHOD() local
244 Z_PARAM_LONG(day) in PHP_METHOD()
249 ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(day, 3); in PHP_METHOD()
253 gcal = new GregorianCalendar((int32_t) year, (int32_t) month, (int32_t) day, status); in PHP_METHOD()
269 zend_long year, month, day, hour, minute, second; in PHP_METHOD() local
281 Z_PARAM_LONG(day) in PHP_METHOD()
290 ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(day, 3); in PHP_METHOD()
297 …gcal = new GregorianCalendar((int32_t) year, (int32_t) month, (int32_t) day, (int32_t) hour, (int3… in PHP_METHOD()
300 …gcal = new GregorianCalendar((int32_t) year, (int32_t) month, (int32_t) day, (int32_t) hour, (int3… in PHP_METHOD()
/php-src/Zend/tests/match/
H A D008.phpt6 function is_working_day($day) {
7 return match ($day) {

Completed in 32 milliseconds

123456