Home
last modified time | relevance | path

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

123456

/PHP-8.1/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.1/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.phpt36 day-in-year : 365
37 day-in-month : 31
38 day-of-week-in-month : 5
39 day-in-week : 2
54 day-in-year : 31
56 day-of-week-in-month : 5
57 day-in-week : 6
74 day-of-week-in-month : 5
75 day-in-week : 3
112 day-name :
[all …]
/PHP-8.1/ext/calendar/
H A Djewish.c555 zend_long day; in SdnToJewish() local
658 if (day <= 30) { in SdnToJewish()
660 *pDay = day; in SdnToJewish()
663 day -= 30; in SdnToJewish()
666 if (day <= 29) { in SdnToJewish()
668 *pDay = day; in SdnToJewish()
671 day -= 29; in SdnToJewish()
676 *pDay = day; in SdnToJewish()
690 int day) in JewishToSdn() argument
702 if (year <= 0 || day <= 0 || day > 30) { in JewishToSdn()
[all …]
H A Dcalendar.c272 int month, day, year, dow; in PHP_FUNCTION() local
323 int year, month, day; in PHP_FUNCTION() local
338 zend_long year, month, day; in PHP_FUNCTION() local
352 int year, month, day; in PHP_FUNCTION() local
367 zend_long year, month, day; in PHP_FUNCTION() local
478 int year, month, day; in PHP_FUNCTION() local
523 int year, month, day; in PHP_FUNCTION() local
552 int day; in PHP_FUNCTION() local
559 day = DayOfWeek(julday); in PHP_FUNCTION()
572 RETURN_LONG(day); in PHP_FUNCTION()
[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.php19 function cal_to_jd(int $calendar, int $month, int $day, int $year): int {} argument
25 function frenchtojd(int $month, int $day, int $year): int {} argument
27 function gregoriantojd(int $month, int $day, int $year): int {} argument
43 function jewishtojd(int $month, int $day, int $year): int {} argument
45 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.1/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.1/ext/calendar/tests/
H A Dcal_from_jd.phpt17 [day] => 26
29 [day] => 26
41 [day] => 26
53 [day] => 0
/PHP-8.1/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 55 milliseconds

123456