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

/PHP_5_4/ext/calendar/
H A Dfrench.c20 * before the first day of year 1 or after the last day of year 14, the
31 * int day);
70 * The epoch (first day of the first year) is 22 September 1792 in the
120 int day)
125 day < 1 || day > 30) {
130 + day
117 FrenchToSdn( int year, int month, int day) argument
H A Dgregor.c146 int day; local
159 /* Calculate the year and day of year (1 <= dayOfYear <= 366). */
164 /* Calculate the month and day of month. */
167 day = (temp % DAYS_PER_5_MONTHS) / 5 + 1;
184 *pDay = day;
H A Djulian.c58 * 365.242199 days, not 365.25. This lead to an 11 day shift in the
89 * from the Nonae (9th day before the Ides) or from the beginning of
163 int day; local
176 /* Calculate the year and day of year (1 <= dayOfYear <= 366). */
186 /* Calculate the month and day of month. */
189 day = (temp % DAYS_PER_5_MONTHS) / 5 + 1;
206 *pDay = day;
H A Djewish.c20 * first day of year 1, the three output values will all be set to zero,
29 * int day);
68 * alternating 29-30 day months gives a year of 354 days, which is
72 * this 11 1/4 day difference cannot be overcome by adding days to a
77 * year may be delayed until a day or two after the new moon causing
115 * of the year by determining the first day of the year (Tishri 1, or
116 * Rosh Ha-Shanah) and the first day of the following year. This
120 * Finding the first day of the year is the most difficult part.
128 * Jewish day is considered to begin at sunset.
130 * Since sunset varies, the day i
515 long int day; local
647 JewishToSdn( int year, int month, int day) argument
[all...]
H A Dsdncal.h20 * and from a serial day number (SDN). The SDN is a serial numbering of
22 * SDN 2447893 is January 1, 1990. This system of day numbering is
24 * Julian calendar, it is referred to as serial day numbers here. The term
31 * determining the day of the week, finding the date of yesterday or
70 long int GregorianToSdn(int year, int month, int day);
76 long int JulianToSdn(int year, int month, int day);
80 long int JewishToSdn(int year, int month, int day);
H A Dcalendar.c60 ZEND_ARG_INFO(0, day)
75 ZEND_ARG_INFO(0, day)
85 ZEND_ARG_INFO(0, day)
97 ZEND_ARG_INFO(0, day)
107 ZEND_ARG_INFO(0, day)
181 typedef long int (*cal_to_jd_func_t) (int month, int day, int year);
182 typedef void (*cal_from_jd_func_t) (long int jd, int *year, int *month, int *day);
183 typedef char *(*cal_as_string_func_t) (int year, int month, int day);
366 /* {{{ proto int cal_to_jd(int calendar, int month, int day, int year)
370 long cal, month, day, yea local
390 int month, day, year, dow; local
431 int year, month, day; local
449 long year, month, day; local
464 int year, month, day; local
482 long year, month, day; local
593 int year, month, day; local
630 long year, month, day; local
645 int year, month, day; local
663 long year, month, day; local
678 int day; local
710 int month, day, year; local
[all...]
/PHP_5_4/ext/date/lib/
H A Dastro.h1 /* This macro computes the length of the day, from sunrise to sunset. */
5 #define day_length(year,month,day,lon,lat) \
6 __daylen__( year, month, day, lon, lat, -35.0/60.0, 1 )
8 /* This macro computes the length of the day, including civil twilight. */
11 #define day_civil_twilight_length(year,month,day,lon,lat) \
12 __daylen__( year, month, day, lon, lat, -6.0, 0 )
14 /* This macro computes the length of the day, incl. nautical twilight. */
17 #define day_nautical_twilight_length(year,month,day,lon,lat) \
18 __daylen__( year, month, day, lon, lat, -12.0, 0 )
20 /* This macro computes the length of the day, inc
[all...]
H A Ddow.c36 * Julian calendar. We just return the 'wrong' day of week to be
126 timelib_sll dow, day; local
130 /* then use that to figure out the offset for day 1 of week 1 */
131 day = 0 - (dow > 4 ? dow - 7 : dow);
134 return day + ((w - 1) * 7) + d;
H A Dtm2unixtime.c346 static timelib_sll do_days(timelib_ull day) argument
348 return ((day - 1) * SECS_PER_DAY);
H A Dparse_date.re199 { "day", TIMELIB_DAY, 1 },
898 day = (([0-2]?[0-9]) | ("3"[01])) daysuf?;
939 americanshort = month "/" day;
940 american = month "/" day "/" year;
942 dateslash = year4 "/" month "/" day;
946 gnudateshort = year "-" month "-" day;
947 pointeddate4 = day [.\t-] month [.-] year4;
948 pointeddate2 = day [.\t] month "." year2;
949 datefull = day ([ \t.-])* monthtext ([ \t.-])* year;
952 datetextual = monthtext ([ .\t-])* day [,
[all...]
/PHP_5_4/ext/date/tests/
H A DDateTime_data-fall-type2-type2.inc14 * + prev: the day before the transition day 2010-11-06 18:38:28 EDT
15 * + dt: daylight time on transition day 2010-11-07 00:10:20 EDT
18 * + st: standard time on the transition day 2010-11-07 03:16:55 EST
19 * + post: the day after the transition day 2010-11-08 19:59:59 EST
H A DDateTime_data-fall-type2-type3.inc14 * + prev: the day before the transition day 2010-11-06 18:38:28 EDT
15 * + dt: daylight time on transition day 2010-11-07 00:10:20 EDT
18 * + st: standard time on the transition day 2010-11-07 03:16:55 EST
19 * + post: the day after the transition day 2010-11-08 19:59:59 EST
H A DDateTime_data-fall-type3-type2.inc14 * + prev: the day before the transition day 2010-11-06 18:38:28 EDT
15 * + dt: daylight time on transition day 2010-11-07 00:10:20 EDT
18 * + st: standard time on the transition day 2010-11-07 03:16:55 EST
19 * + post: the day after the transition day 2010-11-08 19:59:59 EST
H A DDateTime_data-fall-type3-type3.inc14 * + prev: the day before the transition day 2010-11-06 18:38:28
15 * + dt: daylight time on transition day 2010-11-07 00:10:20
18 * + st: standard time on the transition day 2010-11-07 03:16:55
19 * + post: the day after the transition day 2010-11-08 19:59:59
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
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
/PHP_5_4/ext/intl/grapheme/
H A Dgrapheme_util.h32 int grapheme_ascii_check(const unsigned char *day, int32_t len);
H A Dgrapheme_util.c220 int grapheme_ascii_check(const unsigned char *day, int32_t len) argument
224 if ( *day++ > 0x7f )
/PHP_5_4/ext/sqlite3/libsqlite/
H A Dsqlite3.c1453 ** a 24-hour day).
2514 ** char *zText = "It's a happy day!";
2529 ** INSERT INTO table1 VALUES('It''s a happy day!')
2536 ** INSERT INTO table1 VALUES('It's a happy day!');
13155 ** be represented, even though julian day numbers allow a much wider
13182 sqlite3_int64 iJD; /* The julian day number times 86400000 */
13183 int Y, M, D; /* Year, month, and day */
13331 ** Convert from YYYY-MM-DD HH:MM:SS to julian day. We always assume
13461 ** Compute the Year, Month, and Day from the julian day number.
13487 ** Compute the Hour, Minute, and Seconds from the julian day numbe
13790 sqlite3_int64 day; local
[all...]
/PHP_5_4/ext/mssql/
H A Dphp_mssql.c1040 spprintf(&res_buf, 0, "%d-%02d-%02d %02d:%02d:%02d" , dateinfo.year, dateinfo.month, dateinfo.day, dateinfo.hour, dateinfo.minute, dateinfo.second);
1120 spprintf(&res_buf, 0, "%d-%02d-%02d %02d:%02d:%02d" , dateinfo.year, dateinfo.month, dateinfo.day, dateinfo.hour, dateinfo.minute, dateinfo.second);
/PHP_5_4/ext/pgsql/
H A Dpgsql.c5851 day, week, month, year, decade, century, millennium, or abbreviations or
5858 unit markings. For example, '1 12:59:10' is read the same as '1 day 12 hours 59 min 10
5873 "days|day|d|"
5887 "days|day|d))+"
/PHP_5_4/ext/date/
H A Dphp_date.c86 ZEND_ARG_INFO(0, day)
95 ZEND_ARG_INFO(0, day)
101 ZEND_ARG_INFO(0, day)
268 ZEND_ARG_INFO(0, day)
274 ZEND_ARG_INFO(0, day)
281 ZEND_ARG_INFO(0, day)
287 ZEND_ARG_INFO(0, day)
679 * date-time = [ day "," ] date time ; dd mm yy hh:mm:ss zzz
680 * day = "Mon" / "Tue" / "Wed" / "Thu" / "Fri" / "Sat" / "Sun"
681 * date = 1*2DIGIT month 2DIGIT ; day mont
1457 long hou = 0, min = 0, sec = 0, mon = 0, day = 0, yea = 0, dst = -1; local
[all...]
/PHP_5_4/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c43 unsigned int year, month, day, hour, minute, second; member in struct:st_mysqlnd_time
284 t.day = (unsigned long) sint4korr(to+1);
290 if (t.day) {
292 t.hour += t.day*24;
293 t.day = 0;
341 t.day = (unsigned int) to[3];
349 length = mnd_sprintf(&value, 0, "%04u-%02u-%02u", t.year, t.month, t.day);
386 t.day = (unsigned int) to[3];
403 length = mnd_sprintf(&value, 0, "%04u-%02u-%02u %02u:%02u:%02u", t.year, t.month, t.day, t.hour, t.minute, t.second);

Completed in 164 milliseconds