Calendar date

Last updated
Gregorian20 May 2022
Julian7 May 2022
Hijri (Tabular)18 Shawwal 1443
Hebrew 19 Iyar 5782
Persian14 Farvardin 1401

A calendar date is a reference to a particular day represented within a calendar system. The calendar date allows the specific day to be identified. The number of days between two dates may be calculated. For example, "25 May2022" is ten days after "15 May2022". The date of a particular event depends on the observed time zone. For example, the air attack on Pearl Harbor that began at 7:48 a.m. Hawaiian time on 7 December 1941 took place at 3:18 a.m. Japan Standard Time, 8 December in Japan.


A particular day may be assigned a different nominal date according to the calendar used, so an identifying suffix may be needed where ambiguity may arise. [lower-alpha 1] The Gregorian calendar is the world's most widely used civil calendar, [1] and is designated (in English) as AD or CE. Many cultures use religious or regnal calendars such as the Gregorian (Western Christendom, AD), Hebrew calendar (Judaism, AM), the Hijri calendars (Islam, AH), Julian calendar (Eastern Christendom, AD) or any other of the many calendars used around the world. In most calendar systems, the date consists of three parts: the (numbered) day of the month, the month , and the (numbered) year . There may also be additional parts, such as the day of the week. Years are usually counted from a particular starting point, usually called the epoch, with era referring to the span of time since that epoch. [lower-alpha 2]

A date without the year may also be referred to as a date or calendar date (such as "20May" rather than "20May2022"). As such, it is either shorthand for the current year or it defines the day of an annual event, such as a birthday on 31 May, a holiday on 1 September, or Christmas on 25 December.

Many computer systems internally store points in time in Unix time format or some other system time format. The date (Unix) command—internally using the C date and time functions—can be used to convert that internal representation of a point in time to most of the date representations shown here.

Usage map

Order styles
Main regions and countries
(population of each region in millions)
.mw-parser-output .legend{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .legend-color{display:inline-block;min-width:1.25em;height:1.25em;line-height:1.25;margin:1px 0;text-align:center;border:1px solid black;background-color:transparent;color:black}.mw-parser-output .legend-text{}
- Europe: Italy (60), Ukraine (42), Netherlands (17), others (95);
- Central America: Mexico (127), Guatemala (18), Honduras (9.2), others (19);
- South America: Brazil (210), Colombia (46), Argentina (45), Peru (32), Venezuela (32), Ecuador (17), others (43);
- North Africa: Egypt (99), Algeria (43), Morocco (35), Tunisia (12), others (11);
- West, Central and Southern Africa: Nigeria (193), Ethiopia (99), DRC (87), Tanzania (56), Sudan (41), Uganda (40), others (323);
- Western Asia and the Middle East: Turkey (82), Iraq (40), Saudi Arabia (33), Yemen (30), others (107);
- Central and South Asia: Pakistan (208), Bangladesh (166), Tajikistan (8.9), Kyrgyzstan (6.4), Turkmenistan (5.9);
- Southeast Asia: Indonesia (268), Thailand (66), Cambodia (16), others (8.9);
- Others: various French- and Dutch-speaking Caribbean islands (26), Papua New Guinea (8.6), New Zealand (5.0), others (5.5)
L, B
- Russia (147);
- Europe: Germany (83), France (67), United Kingdom (66), Spain (47), Poland (38), Romania (20);
- Central and South Asia: India (1,346), Vietnam (95), Iran (82), Myanmar (54), Uzbekistan (33), Afghanistan (32), Nepal (30), Sri Lanka (22);
- Others: Australia (25), Cameroon (24), others (120)
L, M
Philippines (107), Malaysia (33), Somalia (16), Togo (7.5), Panama (4.2), Puerto Rico (3.2), Cayman Islands (0.63), Greenland (0.56)
China (1,397), Japan (126), South Korea (52), North Korea (25), Canada (37),
Taiwan (24), Hungary (10), Mongolia (3.3), Lithuania (2.8), Bhutan (0.74).
Some U.S. island territories (0.55)
M, B
United States (329)
M, B, L
South Africa (58), Kenya (52), Ghana (30)
140 Date format by country NEW.svg
C.Order styles End. Main regions and countries
(population of each region in millions)
DMYL Europe : Italy (60), Ukraine (42), Netherlands (17), others (95);
Central America : Mexico (127), Guatemala (18), Honduras (9.2), others (19);
South America : Brazil (210), Colombia (46), Argentina (45), Peru (32), Venezuela (32), Ecuador (17),others (43);
North Africa : Egypt (99), Algeria (43), Morocco (35), Tunisia (12),others (11);
West, Central and Southern Africa : Nigeria (193), Ethiopia (99), DRC (87), Tanzania (56), Sudan (41), Uganda (40),others (323);
Western Asia and the Middle East : Turkey (82), Iraq (40), Saudi Arabia (33), Yemen (30),others (107);
Central and South Asia : Pakistan (208), Bangladesh (166), Tajikistan (8.9), Kyrgyzstan (6.4), Turkmenistan (5.9);
Southeast Asia : Indonesia (268), Thailand (66), Cambodia (16),others (8.9);
Others: various French- and Dutch-speaking Caribbean islands (26), Papua New Guinea (8.6), New Zealand (5.0),others (5.5)
DMY, YMDL, B Russia (147);
Europe : Germany (83), France (67), United Kingdom (66), Spain (47), Poland (38), Romania (20);
Central and South Asia : India (1,346), Vietnam (95), Iran (82), Myanmar (54), Uzbekistan (33), Afghanistan (32), Nepal (30), Sri Lanka (22);
Others: Australia (25), Cameroon (24),others (120)
DMY, MDYL, M Philippines (107), Malaysia (33), Somalia (16), Togo (7.5), Panama (4.2), Puerto Rico (3.2), Cayman Islands (0.63), Greenland (0.56)171
YMDB China (1,397), Japan (126), South Korea (52), North Korea (25), Canada (37), Taiwan (24), Hungary (10), Mongolia (3.3), Lithuania (2.8), Bhutan (0.74).1,678
MDYM Some U.S. island territories (0.55)0.55
MDY, YMDM, B United States (329)329
MDY, YMD, DMYM, B, L South Africa (58), Kenya (52), Ghana (30)140

Date format

There is a large variety of formats for dates in use, which differ in the order of date components. These variations use the sample date of 31 May 2006: (e.g. 31/05/2006, 05/31/2006, 2006/05/31), component separators (e.g. 31.05.2006, 31/05/2006, 31-05-2006), whether leading zeros are included (e.g. 31/5/2006 vs. 31/05/2006), whether all four digits of the year are written (e.g., 31.05.2006 vs. 31.05.06), and whether the month is represented in Arabic or Roman numerals or by name (e.g. 31.05.2006, 31.V.2006 vs. 31 May 2006).

Gregorian, day–month–year (DMY)

Postal mark of Czechoslovakia, 1939 Prilezitostne razitko pof. PR7, 13.06.1939.jpg
Postal mark of Czechoslovakia, 1939

This little-endian sequence is used by a majority of the world and is the preferred form by the United Nations when writing the full date format in official documents. This date format originates from the custom of writing the date as "the Nth day of [month] in the year of our Lord [year]" in Western religious and legal documents. The format has shortened over time but the order of the elements has remained constant. The following examples use the date of 9 November 2006. (With the years 2000–2009, care must be taken to ensure that two digit years do not intend to be 1900–1909 or other similar years.) The dots have a function of ordinal dot.

Gregorian, year–month–day (YMD)

In this format, the most significant data item is written before lesser data items i.e. the year before the month before the day. It is consistent with the big-endianness of the Hindu–Arabic numeral system, which progresses from the highest to the lowest order magnitude. That is, using this format textual orderings and chronological orderings are identical. This form is standard in East Asia, Iran, Lithuania, Hungary, and Sweden; and some other countries to a limited extent.

Examples for the 9th of November 2003:

It is also extended through the universal big-endian format clock time: 9 November 2003, 18h 14m 12s, or 2003/11/9/18:14:12 or (ISO 8601) 2003-11-09T18:14:12.

Gregorian, month–day–year (MDY)

This sequence is used primarily in the Philippines and the United States. It is also used to varying extents in Canada (though never in Quebec). [4] This date format was commonly used alongside the little-endian form in the United Kingdom until the mid-20th century and can be found in both defunct and modern print media such as the London Gazette and The Times , respectively. This format was also commonly used by several English-language print media in many former British colonies and also one of two formats commonly used in India during British Raj era until the mid-20th century. In the United States, it is said as of Sunday, November 9, for example, although usage of "the" isn't uncommon (e.g. Sunday, November the 9th, and even November the 9th, Sunday, are also possible and readily understood).

The modern convention is to avoid using the ordinal (th, st, rd, nd) form of numbers when the day follows the month (July 4 or July 4, 2006). The ordinal was common in the past and is still sometimes used ([the] 4th [of] July or July 4th).

Gregorian, year–day–month (YDM)

This date format is used in Kazakhstan, Latvia, Nepal, and Turkmenistan. According to the official rules of documenting dates by governmental authorities, [5] the long date format in Kazakh is written in the year–day–month order, e.g. 2006 5 April (Kazakh : 2006 жылғы 05 сәуір).


There are several standards that specify date formats:

Usage overloading

Many numerical forms can create confusion when used in international correspondence, particularly when abbreviating the year to its final two digits, with no context.

For example, "07/08/06" could refer to either 7 August 2006 or July 8, 2006 (or 1906, or the sixth year of any century), or 6 August 2007. In the United States, dates are rarely written in purely numerical forms in formal writing, although they are very common elsewhere; when numerical forms are used, the month appears first. In the United Kingdom, while it is regarded as acceptable albeit less common to write month-name day, year, this order is never used when written numerically. However, as an exception, the American shorthand "9/11" is widely understood as referring to the September 11, 2001 terrorist attacks. [9]

When numbers are used to represent months, a significant amount of confusion can arise from the ambiguity of a date order; especially when the numbers representing the day, month, or year are low, it can be impossible to tell which order is being used. This can be clarified by using four digits to represent years, and naming the month; for example, "Feb" instead of "02". The ISO 8601 date order with four-digit years: YYYY-MM-DD (introduced in ISO 2014), is specifically chosen to be unambiguous. The ISO 8601 standard also has the advantage of being language independent and is therefore useful when there may be no language context and a universal application is desired (expiration dating on export products, for example). Many Internet sites use YYYY-MM-DD, and those using other conventions often use -MMM- for the month to further clarify and avoid ambiguity (2001-MAY-09, 9-MAY-2001, MAY 09 2001, etc.).

In addition, the International Organization for Standardization considers its ISO 8601 standard to make sense from a logical perspective. [10] Mixed units, for example, feet and inches, or hours and minutes, are normally written with the largest unit first, in decreasing order. Numbers are also written in that order, so the digits of 2006 indicate, in order, the millennium, the century within the millennium, the decade within the century, and the year within the decade. The only date order that is consistent with these well-established conventions is year–month–day. A plain text list of dates with this format can be easily sorted by file managers, word processors, spreadsheets, and other software tools with built-in sorting functions. Some database systems use an eight-digit YYYYMMDD representation to handle date values. Naming folders with YYYY-MM-DD at the beginning allows them to be listed in date order when sorting by name – especially useful for organizing document libraries.

An early U.S. Federal Information Processing Standard recommended 2-digit years. This is now widely recognized as extremely problematic, because of the year 2000 problem. Some U.S. government agencies now use ISO 8601 with 4-digit years. [11] [12]

When transitioning from one date notation to another, people often write both styles; for example Old Style and New Style dates in the transition from the Julian to the Gregorian calendar.

Advantages for ordering in sequence

One of the advantages of using the ISO 8601 date format is that the lexicographical order (ASCIIbetical) of the representations is equivalent to the chronological order of the dates, assuming that all dates are in the same time zone. Thus dates can be sorted using simple string comparison algorithms, and indeed by any left to right collation. For example:

2003-02-28 (28 February 2003) sorts before 2006-03-01 (1 March 2006) which sorts before 2015-01-30 (30 January 2015)

The YYYY-MM-DD layout is the only common format that can provide this. [13] Sorting other date representations involves some parsing of the date strings. This also works when a time in 24-hour format is included after the date, as long as all times are understood to be in the same time zone.

ISO 8601 is used widely where concise, human-readable yet easily computable and unambiguous dates are required, although many applications store dates internally as UNIX time and only convert to ISO 8601 for display. It is worth noting that all modern computer Operating Systems retain date information of files outside of their titles, allowing the user to choose which format they prefer and have them sorted thus, irrespective of the files' names.

Specialized usage

Day and year only

The U.S. military sometimes uses a system, which they call "Julian date format" [14] that indicates the year and the actual day out of the 365 days of the year (and thus a designation of the month would not be needed). For example, "11 December 1999" can be written in some contexts as "1999345" or "99345", for the 345th day of 1999. [15] This system is most often used in US military logistics since it simplifies the process of calculating estimated shipping and arrival dates. For example: say a tank engine takes an estimated 35 days to ship by sea from the US to South Korea. If the engine is sent on 06104 (Friday, 14 April 2006), it should arrive on 06139 (Friday, 19 May). Note that outside of the US military and some US government agencies, including the Internal Revenue Service, this format is usually referred to as "ordinal date", rather than "Julian date". [16]

Such ordinal date formats are also used by many computer programs (especially those for mainframe systems). Using a three-digit Julian day number saves one byte of computer storage over a two-digit month plus two-digit day, for example, "January 17" is 017 in Julian versus 0117 in month-day format. OS/390 or its successor, z/OS, display dates in yy.ddd format for most operations.

UNIX time stores time as a number in seconds since the beginning of the UNIX Epoch (1970-01-01).

Another "ordinal" date system ("ordinal" in the sense of advancing in value by one as the date advances by one day) is in common use in astronomical calculations and referencing and uses the same name as this "logistics" system. The continuity of representation of period regardless of the time of year being considered is highly useful to both groups of specialists. The astronomers describe their system as also being a "Julian date" system. [17]

Week number used

Companies in Europe often use year, week number, and day for planning purposes. So, for example, an event in a project can happen on w43 (week 43) or w43-1 (Monday, week 43) or, if the year needs to be indicated, on w0643 or w643 (the year 2006 week 43; i.e., Monday 23 OctoberSunday 29 October 2006).

The ISO does present a standard for identifying weeks, but as it does not match up with the Gregorian calendar (the beginning and ending days of a given year do not match up), this standard is somewhat more problematic than the other standards for dates.

Expressing dates in spoken English

In English-language outside North America (mostly in Anglophone Europe and some countries in Australasia), full dates are written as 7 December 1941 (or 7th December 1941) and spoken as "the seventh of December, nineteen forty-one" (exceedingly common usage of "the" and "of"), with the occasional usage of December 7, 1941 ("December the seventh, nineteen forty-one"). In common with most continental European usage, however, all-numeric dates are invariably ordered dd/mm/yyyy.

In Canada and the United States, the usual written form is December 7, 1941, spoken as "December seventh, nineteen forty-one" or colloquially "December the seventh, nineteen forty-one". Ordinal numerals, however, are not always used when writing and pronouncing dates, and "December seven, nineteen forty-one" is also an accepted pronunciation of the date written December 7, 1941. A notable exception to this rule is the Fourth of July (U.S. Independence Day).

See also


  1. This may not always be sufficient. For example, the Western (Gregorian) and Eastern (Julian) Christian calendars each use the designation AD, but the same day in the 20th and 21st century is dated differently by the calendars by 13 days, despite each using the same format. Consequently the name of the calendar must also be stated. See also Old Style and New Style dates for the notation used followind a change of civil calendar used.
  2. For details of the [typically retrospective] calculation of the epoch for each calendar, see their respective articles.

Related Research Articles

ISO 8601 is an international standard covering the worldwide exchange and communication of date and time-related data. It is maintained by the Geneva-based International Organization for Standardization (ISO) and was first published in 1988, with updates in 1991, 2000, 2004, and 2019. The standard aims to provide a well-defined, unambiguous method of representing calendar dates and times in worldwide communications, especially to avoid misinterpreting numeric dates and times when such data is transferred between countries with different conventions for writing numeric dates and times.

In computing, endianness is the order or sequence of bytes of a word of digital data in computer memory. Endianness is primarily expressed as big-endian (BE) or little-endian (LE). A big-endian system stores the most significant byte of a word at the smallest memory address and the least significant byte at the largest. A little-endian system, in contrast, stores the least-significant byte at the smallest address. Bi-endianness is a feature supported by numerous computer architectures that feature switchable endianness in data fetches and stores or for instruction fetches. Other orderings are generically called middle-endian or mixed-endian.

Timestamp Information identifying when an event occurred

A timestamp is a sequence of characters or encoded information identifying when a certain event occurred, usually giving date and time of day, sometimes accurate to a small fraction of a second. Timestamps do not have to be based on some absolute notion of time, however. They can have any epoch, can be relative to any arbitrary time, such as the power-on time of a system, or to some arbitrary time in the past.

A year zero does not exist in the Anno Domini (AD) calendar year system commonly used to number years in the Gregorian calendar ; in this system, the year 1 BC is followed directly by year AD 1. However, there is a year zero in both the astronomical year numbering system, and the ISO 8601:2004 system, the interchange standard for all calendar numbering systems. There is also a year zero in most Buddhist and Hindu calendars.

Different conventions exist around the world for date and time representation, both written and spoken.

The ISO week date system is effectively a leap week calendar system that is part of the ISO 8601 date and time standard issued by the International Organization for Standardization (ISO) since 1988 and, before that, it was defined in ISO (R) 2015 since 1971. It is used (mainly) in government and business for fiscal years, as well as in timekeeping. This was previously known as "Industrial date coding". The system specifies a week year atop the Gregorian calendar by defining a notation for ordinal weeks of the year.

An ordinal date is a calendar date typically consisting of a year and a day of the year ranging between 1 and 366, though year may sometimes be omitted. The two numbers can be formatted as YYYY-DDD to comply with the ISO 8601 ordinal date format.

ISO 2014 is an international standard that was issued in April 1976, and superseded by ISO 8601 in June 1988. ISO 2014 was the standard that originally introduced the all-numeric date notation [YYYY]-[MM]-[DD] with the digits in order starting with the most significant digit first. It was technically identical to ISO Recommendation R 2014 from 1971.

Date and time notation in Canada combines conventions from the United Kingdom, conventions from the United States, and conventions from France, often creating confusion. The Government of Canada specifies the ISO 8601 format for all-numeric dates. It recommends writing the time using the 24-hour clock (20:46) for maximum clarity in both Canadian English and Canadian French, but also allows the 12-hour clock (8:46 p.m.) in English.

Date and time notation in the United States differs from that used in nearly all other countries. It is inherited from one historical branch of conventions from the United Kingdom. American styles of notation have also influenced customs of date notation in Canada, creating confusion in international commerce.

Date and time notation in Sweden mostly follows the ISO 8601 standard: dates are generally written in the form YYYY-MM-DD. Although this format may be abbreviated in a number of ways, almost all Swedish date notations state the month between the year and the day. Months are not capitalised when written. The week number may also be used in writing and in speech. Times are generally written using 24-hour clock notation, with full stops as separators, although 12-hour clock notation is more frequently used in speech.

Date and time notation in the United Kingdom records the date using the day–month–year format. The ISO 8601 format (2022-05-18) is increasingly used for all-numeric dates. The time can be written using either the 24-hour clock (08:34) or 12-hour clock.

The European Committee for Standardization (CEN) and

In Turkey, the little endian date format is used, and 24-hour clock is more common than 12-hour clock system.

ISO 8601 has been adopted as BIS IS 7900:2001.

Thailand has adopted ISO 8601 under national standard: TIS 1111:2535 in 1992. However, in practice, there are some variations.

The Philippines has not officially adopted any time and date representation standard based on the ISO 8601. Notation practices across the country are in various, customary formats.

The legal and cultural expectations for date and time representation vary between countries, and it is important to be aware of the forms of all-numeric calendar dates used in a particular country to know what date is intended.


  1. Dershowitz, D.; Reingold, E. M (2008). Calendrical Calculations (3rd ed.). Cambridge: Cambridge University Press. p. 45. The calendar in use today in most of the world is the Gregorian or new-style calendar designed by a commission assembled by Pope Gregory XIII in the sixteenth century.
  2. W3C Date and Time Formats Internet date/time format
  3. "Canadian Payments Association – Specifications for Imageable Cheques and Other Payment Items". February 3, 2009. Archived from the original on 6 July 2010. Adoption of a numeric date field in one of three specified formats (YYYYMMDD, MMDDYYYY or DDMMYYYY. It is essential that field indicators be printed below the date field to indicate which format is being used.
  4. Sanderson, Blair (18 January 2016). "Proposed legislation aims to settle date debate". CBC News. Retrieved 25 September 2017.
  5. "Official rules of documenting in governmental authorities". Government of Kazakhstan (in Kazakh).
  6. "ISO 8601:2004 Data elements and interchange formats – Information interchange – Representation of dates and times".
  7. "5.6 Internet Date/Time Format". Date and Time on the Internet: Timestamps. sec. 5.6. doi: 10.17487/RFC3339 . RFC 3339.
  8. "3.3 Date and Time Specification". Internet Message Format. sec. 3.3. doi: 10.17487/RFC5322 . RFC 5322.
  9. BBC News – America's Day of Terror" (Example of British website using "9/11" shorthand)
  10. "Numeric representation of Dates and Time" . Retrieved 2008-04-27.
  11. Archived February 21, 2008, at the Wayback Machine
  12. "International Standard Date and Time Notation". Retrieved 2012-06-26.
  13. "FAQ: Date formats". World Wide Web Consortium (W3C). Retrieved 2008-10-21.
  14. Hynes, John (?). A summary of time formats and standards. Retrieved on 2011-02-09 from
  15. Kuhn, Markus (2004-12-19). A summary of the international standard date and time notation. University of Cambridge Computer Laboratory. Retrieved on 2006-08-01 from
  16. Department of Defense. "Definition of Terms." March 11, 1997. Retrieved October 24, 2011.
  17. E. Kelly Taylor, America's Army and the Language of Grunts: Understanding the Army Lingo Legacy (Bloomington IN: AuthorHouse, 2009), 185. ISBN   1438962509, 9781438962504