Home
last modified time | relevance | path

Searched refs:day (Results 1 – 25 of 135) sorted by relevance

123456

/PHP-8.2/ext/date/tests/
H A Dbug51096.phpt2 Bug #51096 (Test for "first day" vs "first day of")
7 'last day',
29 first day
30 - month: 0; day: 1; first-day-of: false; last-day-of: false
33 last day
34 - month: 0; day: -1; first-day-of: false; last-day-of: false
38 - month: 1; day: 0; first-day-of: false; last-day-of: false
42 - month: 1; day: 1; first-day-of: false; last-day-of: false
46 - month: 1; day: -1; first-day-of: false; last-day-of: false
50 - month: 1; day: 0; first-day-of: true; last-day-of: false
[all …]
H A Dbug43452.phpt6 // <day> is equivalent to 1 <day> and will *not* forward if the current day
7 // (November 1st) is the same day of week.
8 $day = strtotime( "Thursday Nov 2007" );
9 echo date( DateTime::ISO8601, $day ), "\n";
10 $day = strtotime( "1 Thursday Nov 2007" );
11 echo date( DateTime::ISO8601, $day ), "\n";
12 $day = strtotime( "2 Thursday Nov 2007" );
14 $day = strtotime( "3 Thursday Nov 2007" );
18 $day = strtotime( "Thursday Nov 2007" );
30 $day = strtotime( "Thursday Nov 2007" );
[all …]
H A Dbug27780.phpt16 "2004-04-07 00:00:00 -10 day +2 hours",
17 "2004-04-07 00:00:00 -1 day",
21 "2004-04-07 00:00:00 +1 day",
22 "2004-04-07 00:00:00 1 day",
47 1081227600 [2004-04-06 00:00:00 CDT] [2004-04-07 00:00:00 -1 day]
51 1081400400 [2004-04-08 00:00:00 CDT] [2004-04-07 00:00:00 +1 day]
52 1081400400 [2004-04-08 00:00:00 CDT] [2004-04-07 00:00:00 1 day]
67 1081375200 [2004-04-08 00:00:00 CEST] [2004-04-07 00:00:00 1 day]
82 1081371600 [2004-04-08 00:00:00 IDT] [2004-04-07 00:00:00 1 day]
97 1081353600 [2004-04-08 00:00:00 %s] [2004-04-07 00:00:00 1 day]
[all …]
H A Dbug33414-1.phpt202 TZ=America/Mendoza - wrong day.
212 TZ=America/Cordoba - wrong day.
228 TZ=Asia/Baku - wrong day.
238 TZ=America/Havana - wrong day.
243 TZ=Europe/Tallinn - wrong day.
248 TZ=Asia/Jerusalem - wrong day.
253 TZ=Europe/Vilnius - wrong day.
268 TZ=America/Cancun - wrong day.
298 TZ=America/Lima - wrong day.
303 TZ=Asia/Karachi - wrong day.
[all …]
H A Dbug33414-2.phpt5 print "TZ=Pacific/Rarotonga - wrong day.\n";
45 print "TZ=America/Managua - wrong day.\n";
53 print "TZ=Pacific/Pitcairn - wrong day.\n";
61 print "TZ=Pacific/Fakaofo - wrong day.\n";
78 TZ=Pacific/Rarotonga - wrong day.
83 TZ=Atlantic/South_Georgia - wrong day.
88 TZ=America/Port-au-Prince - wrong day.
103 TZ=America/Managua - wrong day.
108 TZ=Pacific/Pitcairn - wrong day.
113 TZ=Pacific/Fakaofo - wrong day.
[all …]
H A DDateTime_setISODate_basic1.phpt17 // What date is week week 30 day 3 ?
19 echo "Week 30 day 3 of 2009 is \"" . $datetime->format("D M j") . "\"\n";
23 echo "..same day last year was \"" . $datetime->format("D M j") . "\"\n";
29 Week 30 day 3 of 2009 is "Wed Jul 22"
30 ..same day last year was "Wed Jul 23"
H A Ddate_isodate_set_basic1.phpt17 // What date is week week 30 day 3 ?
19 echo "Week 30 day 3 of 2009 is \"" . date_format($datetime, "D M j") . "\"\n";
23 echo "..same day last year was \"" . date_format($datetime, "D M j") . "\"\n";
29 Week 30 day 3 of 2009 is "Wed Jul 22"
30 ..same day last year was "Wed Jul 23"
H A Ddate-lenient.phpt21 [day] => 8
43 [day] => 8
65 [day] => 8
87 [day] => 8
109 [day] => 8
130 [day] => 8
H A Dbug79580.phpt20 Testing for 31 2020: A 'day of year' can only come after a year has been found
21 Testing for 60 2020: A 'day of year' can only come after a year has been found
22 Testing for 91 2020: A 'day of year' can only come after a year has been found
23 Testing for 121 2020: A 'day of year' can only come after a year has been found
24 Testing for 130 2020: A 'day of year' can only come after a year has been found
H A Dbug45866.phpt8 $date->modify( "+1.61538461538 day" );
12 $date->modify( "61538461538 day" );
16 $date->modify( "£61538461538 day" );
23 Warning: DateTime::modify(): Failed to parse time string (£61538461538 day) at position 0 (%s): Une…
H A Dgmdate_variation4.phpt2 Test gmdate() function : usage variation - Passing textual representation of day formats.
11 echo "\n-- Testing gmdate() function with partial textual representation of day --\n";
15 echo "\n-- Testing gmdate() function with full textual representation of day --\n";
27 -- Testing gmdate() function with partial textual representation of day --
31 -- Testing gmdate() function with full textual representation of day --
H A Ddate_parse_001.phpt23 ["day"]=>
51 ["day"]=>
79 ["day"]=>
115 ["day"]=>
145 ["day"]=>
173 ["day"]=>
201 ["day"]=>
239 ["day"]=>
275 ["day"]=>
H A Dbug35624.phpt9 foreach ($days as $day) {
10 echo date("D", strtotime($day));
11 echo date("D", strtotime(ucfirst($day)));
H A Dgmmktime_variation8.phpt12 $day = 010;
16 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
23 $day = 0x8;
27 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
/PHP-8.2/ext/xsl/tests/
H A Dxslt010.phpt37 day-in-year : 365
38 day-in-month : 31
39 day-of-week-in-month : 5
40 day-in-week : 2
42 day-abbreviation : Mon
55 day-in-year : 31
56 day-in-month : 31
57 day-of-week-in-month : 5
58 day-in-week : 6
75 day-of-week-in-month : 5
[all …]
H A Dxslt010_gt10129.phpt37 day-in-year : 365
38 day-in-month : 31
39 day-of-week-in-month : 5
40 day-in-week : 2
55 day-in-year : 31
57 day-of-week-in-month : 5
58 day-in-week : 6
75 day-of-week-in-month : 5
76 day-in-week : 3
113 day-name :
[all …]
/PHP-8.2/ext/calendar/
H A Dcalendar.c250 int month, day, year, dow; in PHP_FUNCTION() local
301 int year, month, day; in PHP_FUNCTION() local
316 zend_long year, month, day; in PHP_FUNCTION() local
330 int year, month, day; in PHP_FUNCTION() local
345 zend_long year, month, day; in PHP_FUNCTION() local
456 int year, month, day; in PHP_FUNCTION() local
501 int year, month, day; in PHP_FUNCTION() local
530 int day; in PHP_FUNCTION() local
537 day = DayOfWeek(julday); in PHP_FUNCTION()
550 RETURN_LONG(day); in PHP_FUNCTION()
[all …]
H A Djewish.c570 zend_long day; in SdnToJewish() local
673 if (day <= 30) { in SdnToJewish()
675 *pDay = day; in SdnToJewish()
678 day -= 30; in SdnToJewish()
681 if (day <= 29) { in SdnToJewish()
683 *pDay = day; in SdnToJewish()
686 day -= 29; in SdnToJewish()
691 *pDay = day; in SdnToJewish()
705 int day) in JewishToSdn() argument
717 if (year <= 0 || day <= 0 || day > 30) { in JewishToSdn()
[all …]
H A Dfrench.c120 int day) in FrenchToSdn() argument
125 day < 1 || day > 30) { in FrenchToSdn()
130 + day in FrenchToSdn()
H A Dcalendar.stub.php129 function cal_to_jd(int $calendar, int $month, int $day, int $year): int {} argument
135 function frenchtojd(int $month, int $day, int $year): int {} argument
137 function gregoriantojd(int $month, int $day, int $year): int {} argument
153 function jewishtojd(int $month, int $day, int $year): int {} argument
155 function juliantojd(int $month, int $day, int $year): int {} argument
H A Dsdncal.h72 zend_long GregorianToSdn(int year, int month, int day);
78 zend_long JulianToSdn(int year, int month, int day);
82 zend_long JewishToSdn(int year, int month, int day);
/PHP-8.2/ext/date/lib/
H A Dastro.h29 #define day_length(year,month,day,lon,lat) \ argument
30 __daylen__( year, month, day, lon, lat, -35.0/60.0, 1 )
35 #define day_civil_twilight_length(year,month,day,lon,lat) \ argument
36 __daylen__( year, month, day, lon, lat, -6.0, 0 )
41 #define day_nautical_twilight_length(year,month,day,lon,lat) \ argument
42 __daylen__( year, month, day, lon, lat, -12.0, 0 )
47 #define day_astronomical_twilight_length(year,month,day,lon,lat) \ argument
48 __daylen__( year, month, day, lon, lat, -18.0, 0 )
/PHP-8.2/ext/calendar/tests/
H A Dcal_from_jd.phpt17 [day] => 26
29 [day] => 26
41 [day] => 26
53 [day] => 0
/PHP-8.2/ext/pcre/tests/
H A D001.phpt11 (?P<day>[0-3]?\d))
37 ["day"]=>
60 ["day"]=>
83 ["day"]=>
H A D003.phpt11 (?P<day>[0-3]?\d))
77 ["day"]=>
112 ["day"]=>
135 ["day"]=>

Completed in 80 milliseconds

123456