Home
last modified time | relevance | path

Searched refs:year (Results 26 – 50 of 132) sorted by relevance

123456

/PHP-5.5/ext/date/tests/
H A Dgmmktime_error.phpt5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]…
20 $year = 2008;
24 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year, $extra_arg1) );
26 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year, $extra_arg1, $extra_arg2) );
H A DDateTime_setDate_error.phpt5 /* Prototype : public DateTime DateTime::setDate ( int $year , int $month , int $day )
21 $year = 2009;
24 var_dump( $datetime->setDate($year) );
25 var_dump( $datetime->setDate($year, $month) );
29 var_dump( $datetime->setDate($year, $month, $day, $extra_arg) );
H A Ddate_date_set_error.phpt5 /* Prototype : DateTime date_date_set ( DateTime $object , int $year , int $month , int $day )
20 $year = 2009;
24 var_dump( date_date_set($datetime, $year) );
25 var_dump( date_date_set($datetime, $year, $month) );
29 var_dump( date_date_set($datetime, $year, $month, $day, $extra_arg) );
H A DDateTime_setISODate_basic1.phpt5 /* Prototype : public DateTime DateTime::setISODate ( int $year , int $week [, int $day ] )
27 // What date was is last year ?
29 echo "..same day last year was \"" . $datetime->format("D M j") . "\"\n";
37 ..same day last year was "Wed Jul 23"
H A Ddate_isodate_set_basic1.phpt5 /* Prototype : DateTime date_isodate_set ( DateTime $object , int $year , int $week [, int $da…
27 // What date was is last year ?
29 echo "..same day last year was \"" . date_format($datetime, "D M j") . "\"\n";
37 ..same day last year was "Wed Jul 23"
H A Dgmstrftime_variation3.phpt20 'Week number of the year' => "%U",
21 'Week number of the year in decimal number' => "%W",
45 --Week number of the year--
49 --Week number of the year in decimal number--
H A Dmktime_basic1.phpt5 …ond= date("s") [, int $month= date("n") [, int $day= date("j") [, int $year= date("Y") [, int …
22 $year = 1963;
30 var_dump( mktime($hour, $minute, $sec, $month, $day, $year) );
31 var_dump( mktime($hour, $minute, $sec, $month, $day, $year, $is_dst) );
H A Dstrftime_variation3.phpt21 'Week number of the year' => "%U",
22 'Week number of the year in decimal number' => "%W",
45 --Week number of the year--
49 --Week number of the year in decimal number--
H A Ddate_isodate_set_error.phpt6 /* Prototype : DateTime date_isodate_set ( DateTime $object , int $year , int $week [, int $da…
25 $year = 2009;
29 var_dump( date_isodate_set($datetime, $year, $week, $day, $extra_arg) );
33 var_dump( date_isodate_set($invalid_obj, $year, $week, $day) );
35 var_dump( date_isodate_set($invalid_obj, $year, $week, $day) );
37 var_dump( date_isodate_set($invalid_obj, $year, $week, $day) );
H A Dgmmktime_basic.phpt5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]…
19 $year = 2008;
22 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
H A Dgetdate_variation1.phpt112 ["year"]=>
138 ["year"]=>
164 ["year"]=>
210 ["year"]=>
236 ["year"]=>
262 ["year"]=>
288 ["year"]=>
314 ["year"]=>
340 ["year"]=>
406 ["year"]=>
[all …]
H A DDateTime_setISODate_error.phpt6 /* Prototype : public DateTime DateTime::setISODate ( int $year , int $week [, int $day ] )
22 $year = 2009;
24 var_dump( $datetime->setISODate($year) );
30 var_dump( $datetime->setISODate($year, $week, $day, $extra_arg) );
H A Ddate-parse-by-format001.phpt12 [year] => 2004
33 [year] => 2004
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
11 ["year"]=>
H A Ddate_parse_basic1.phpt24 ["year"]=>
52 ["year"]=>
80 ["year"]=>
H A Dgetdate_variation6.phpt46 ["year"]=>
72 ["year"]=>
98 ["year"]=>
H A Dmktime-3-64bit.phpt15 foreach ($years as $year) {
16 printf("Y: %4d - ", $year);
17 $ret = mktime(1, 1, 1, 1, 1, $year);
H A Dmktime-3.phpt15 foreach ($years as $year) {
16 printf("Y: %4d - ", $year);
17 $ret = mktime(1, 1, 1, 1, 1, $year);
H A Dmktime_error.phpt5 …ond= date("s") [, int $month= date("n") [, int $day= date("j") [, int $year= date("Y") [, int …
26 $year = 1963;
29 var_dump( mktime($hour, $minute, $sec, $month, $day, $year, $is_dst, $extra_arg) );
H A Dgetdate_variation2.phpt51 ["year"]=>
77 ["year"]=>
103 ["year"]=>
H A Dbug33869.phpt11 echo date(DATE_ISO8601, strtotime('+1year', $tm));
17 echo date(DATE_ISO8601, strtotime('+1 year', $tm));
H A Dgetdate_variation3.phpt51 ["year"]=>
77 ["year"]=>
103 ["year"]=>
H A Dgmdate_variation5.phpt17 echo "\n-- Testing gmdate() function with ISO-8601 week number of year format --\n";
26 -- Testing gmdate() function with ISO-8601 week number of year format --
/PHP-5.5/ext/intl/calendar/
H A Dgregoriancalendar_methods.cpp236 long year; in PHP_FUNCTION() local
240 "Ol", &object, GregorianCalendar_ce_ptr, &year) == FAILURE) { in PHP_FUNCTION()
246 if (year < INT32_MIN || year > INT32_MAX) { in PHP_FUNCTION()
254 RETURN_BOOL((int)fetch_greg(co)->isLeapYear((int32_t)year)); in PHP_FUNCTION()

Completed in 33 milliseconds

123456