GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Ordinal date

's board with time data, displaying coordinated universal time with ordinal date (without year) prepended, on October 22, 2013 Ordinal date is an encyclopedia record, sourced from en.wikipedia.org, last updated 2026-09-29, source revision https://en.wikipedia.org/w/index.php?oldid=1377488361. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

's board with time data, displaying coordinated universal time with ordinal date (without year) prepended, on October 22, 2013 |alt= The top line of the board reads GMT 295: 11:31:54 (GMT was a synonym for UTC).]] An ordinal date is a calendar date typically consisting of a year and an ordinal number, ranging between 1 and 366 (starting on January 1), representing the multiples of a day, called day of the year or ordinal day number (also known as ordinal day or day number). The two parts of the date can be formatted as "YYYY-DDD" to comply with the ISO 8601 ordinal date format. The year may sometimes be omitted, if it is implied by the context; the day may be generalized from integers to include a decimal part representing a fraction of a day. ==Nomenclature== Ordinal date is the preferred name for what was formerly called the "Julian date" or , or , which still seen in old programming languages and spreadsheet software. The older names are deprecated because they are easily confused with the earlier dating system called 'Julian day number' or , which was in prior use and which remains ubiquitous in astronomical and some historical calculations. The U.S. military sometimes uses a system they call the "Julian date format", which indicates the year and the day number (out of the 365 or 366 days of the year). For example, "11 December 1999" can be written as "1999345" or "99345", for the 345th day of 1999. ==Calculation== Computation of the ordinal day within a year is part of calculating the ordinal day throughout the years from a reference date, such as the Julian date. It is also part of calculating the day of the week, though for this purpose modulo 7 simplifications can be made. In the following text, several algorithms for calculating the ordinal day are presented. The inputs taken are integers , and , for the year, month, and day numbers of the Gregorian or Julian calendar date. With m = 2n and d=m gives O = \left \lfloor 63.2 n - 91.4 \right \rfloor giving consecutive differences of 63 (9 weeks) for 3, 4, 5, and 6, i.e., between 4/4, 6/6, 8/8, 10/10, and 12/12. m = 2n + 1 and d = m + 4 gives O = \left \lfloor 63.2 n - 56+0.2 \right \rfloor and with m and d interchanged O = \left\lfloor 63.2 n - 56 + 119 - 0.4 \right\rfloor giving a difference of 119 (17 weeks) for (difference between 5/9 and 9/5), and also for (difference between 7/11 and 11/7). ==Table== For example, the ordinal date of April 15 is in a common year, and in a leap year. ==Month–day== The number of the month and date is given by m = \left \lfloor od/30 \right \rfloor + 1 d = \bmod\!\! (od, 30) + i - \left \lfloor 0.6 (m + 1) \right \rfloor the term \bmod\!\! (od, 30) can also be replaced by od - 30 (m - 1) with od the ordinal date. Day 100 of a common year: m = \left \lfloor 100/30 \right \rfloor + 1 = 4 d = \bmod\!\! (100, 30) + 3 - \left \lfloor 0.6 (4 + 1) \right \rfloor = 10 + 3 - 3 = 10 April 10. Day 200 of a common year: m = \left \lfloor 200/30 \right \rfloor + 1 = 7 d = \bmod\!\! (200, 30) + 3 - \left \lfloor 0.6 (7 + 1) \right \rfloor = 20 + 3 - 4 = 19 July 19. Day 300 of a leap year: m = \left \lfloor 300/30 \right \rfloor + 1 = 11 d = \bmod\!\! (300, 30) + 2 - \left \lfloor 0.6 (11 + 1)\right \rfloor = 0 + 2 - 7 = - 5 November - 5 = October 26 (31 - 5). ==See also== Julian day Zeller's congruence ISO week date ==References==

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Ordinal date". 1790695219. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1377488361

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·