Home
last modified time | relevance | path

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

12345

/PHP-7.4/ext/date/tests/
H A Dbug51096.phpt2 Bug #51096 (Test for "first day" vs "first day of")
6 'first day',
7 'last 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.phpt21 "2004-04-07 00:00:00 -10 day +2 hours",
22 "2004-04-07 00:00:00 -1 day",
26 "2004-04-07 00:00:00 +1 day",
27 "2004-04-07 00:00:00 1 day",
52 1081227600 [2004-04-06 00:00:00 CDT] [2004-04-07 00:00:00 -1 day]
56 1081400400 [2004-04-08 00:00:00 CDT] [2004-04-07 00:00:00 +1 day]
57 1081400400 [2004-04-08 00:00:00 CDT] [2004-04-07 00:00:00 1 day]
72 1081375200 [2004-04-08 00:00:00 CEST] [2004-04-07 00:00:00 1 day]
87 1081371600 [2004-04-08 00:00:00 IDT] [2004-04-07 00:00:00 1 day]
102 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 DDateTime_setISODate_basic1.phpt5 /* Prototype : public DateTime DateTime::setISODate ( int $year , int $week [, int $day ] )
6 …* Description: Set a date according to the ISO 8601 standard - using weeks and day offsets rather …
23 // What date is week week 30 day 3 ?
25 echo "Week 30 day 3 of 2009 is \"" . $datetime->format("D M j") . "\"\n";
29 echo "..same day last year was \"" . $datetime->format("D M j") . "\"\n";
36 Week 30 day 3 of 2009 is "Wed Jul 22"
37 ..same day last year was "Wed Jul 23"
H A Ddate_isodate_set_basic1.phpt5 …totype : DateTime date_isodate_set ( DateTime $object , int $year , int $week [, int $day ] )
6 …* Description: Set a date according to the ISO 8601 standard - using weeks and day offsets rather …
23 // What date is week week 30 day 3 ?
25 echo "Week 30 day 3 of 2009 is \"" . date_format($datetime, "D M j") . "\"\n";
29 echo "..same day last year was \"" . date_format($datetime, "D M j") . "\"\n";
36 Week 30 day 3 of 2009 is "Wed Jul 22"
37 ..same day last year was "Wed Jul 23"
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 Ddate-lenient.phpt21 [day] => 8
43 [day] => 8
65 [day] => 8
87 [day] => 8
109 [day] => 8
130 [day] => 8
H A Dgmmktime_variation9.phpt5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]…
18 $day = 8;
31 var_dump( gmmktime($value, $min, $sec, $mon, $day, $year) );
32 var_dump( gmmktime($hour, $value, $sec, $mon, $day, $year) );
33 var_dump( gmmktime($hour, $min, $value, $mon, $day, $year) );
34 var_dump( gmmktime($hour, $min, $sec, $value, $day, $year) );
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 Dgmmktime_variation8.phpt5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]…
18 $day = 010;
22 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
29 $day = 0x8;
33 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
H A Dgmdate_variation4.phpt2 Test gmdate() function : usage variation - Passing textual representation of day formats.
17 echo "\n-- Testing gmdate() function with partial textual representation of day --\n";
21 echo "\n-- Testing gmdate() function with full textual representation of day --\n";
34 -- Testing gmdate() function with partial textual representation of day --
38 -- Testing gmdate() function with full textual representation of day --
H A Ddate_parse_001.phpt24 ["day"]=>
52 ["day"]=>
80 ["day"]=>
116 ["day"]=>
146 ["day"]=>
174 ["day"]=>
202 ["day"]=>
240 ["day"]=>
276 ["day"]=>
H A Dbug35624.phpt9 foreach ($days as $day) {
10 echo date("D", strtotime($day));
11 echo date("D", strtotime(ucfirst($day)));
H A Dmktime_basic1.phpt5 …e= date("i") [, int $second= date("s") [, int $month= date("n") [, int $day= date("j") [, int …
20 $day = 2;
27 var_dump( mktime($hour, $minute, $sec, $month, $day) );
28 var_dump( mktime($hour, $minute, $sec, $month, $day, $year) );
/PHP-7.4/ext/xsl/tests/
H A Dxslt010.phpt35 day-in-year : 365
36 day-in-month : 31
37 day-of-week-in-month : 5
38 day-in-week : 2
40 day-abbreviation : Mon
53 day-in-year : 31
54 day-in-month : 31
55 day-of-week-in-month : 5
56 day-in-week : 6
73 day-of-week-in-month : 5
[all …]
H A Dxslt010_gt10129.phpt34 day-in-year : 365
35 day-in-month : 31
36 day-of-week-in-month : 5
37 day-in-week : 2
52 day-in-year : 31
54 day-of-week-in-month : 5
55 day-in-week : 6
72 day-of-week-in-month : 5
73 day-in-week : 3
110 day-name :
[all …]
/PHP-7.4/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.c61 ZEND_ARG_INFO(0, day)
76 ZEND_ARG_INFO(0, day)
86 ZEND_ARG_INFO(0, day)
98 ZEND_ARG_INFO(0, day)
108 ZEND_ARG_INFO(0, day)
449 int year, month, day; in PHP_FUNCTION() local
480 int year, month, day; in PHP_FUNCTION() local
608 int year, month, day; in PHP_FUNCTION() local
655 int year, month, day; in PHP_FUNCTION() local
686 int day; in PHP_FUNCTION() local
[all …]
H A Dfrench.c120 int day) in FrenchToSdn() argument
125 day < 1 || day > 30) { in FrenchToSdn()
130 + day in FrenchToSdn()
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-7.4/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-7.4/ext/calendar/tests/
H A Dcal_from_jd.phpt17 [day] => 26
29 [day] => 26
41 [day] => 26
53 [day] => 0
/PHP-7.4/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 39 milliseconds

12345