Concept

Date format by country

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. Writers have traditionally written abbreviated dates according to their local custom, creating all-numeric equivalents to day–month formats such as "" (, , or ) and month–day formats such as "" ( or ). This can result in dates that are impossible to understand correctly without knowing the context. For instance, depending on the order style, the abbreviated date "01/11/06" can be interpreted as "1 November 2006" for DMY, "January 11, 2006" for MDY, and "2001 November 6" for YMD. The ISO 8601 format YYYY-MM-DD () is intended to harmonize these formats and ensure accuracy in all situations. Many countries have adopted it as their sole official date format, though even in these areas writers may adopt abbreviated formats that are no longer recommended. All examples use example date 2021-03-31 / 2021 March 31 / 31 March 2021 / March 31, 2021 – except where a single-digit day is illustrated. Basic components of a calendar date for the most common calendar systems: D – day M – month Y – year Specific formats for the basic components: yy – two-digit year, e.g. 21 yyyy – four-digit year, e.g. 2021 m – one-digit month for months below 10, e.g. 3 mm – two-digit month, e.g. 03 mmm – three-letter abbreviation for month, e.g. Mar mmmm – month spelled out in full, e.g. March d – one-digit day of the month for days below 10, e.g. 2 dd – two-digit day of the month, e.g. 02 ddd – three-letter abbreviation for day of the week, e.g. Fri dddd – day of the week spelled out in full, e.g.

À propos de ce résultat
Cette page est générée automatiquement et peut contenir des informations qui ne sont pas correctes, complètes, à jour ou pertinentes par rapport à votre recherche. Il en va de même pour toutes les autres pages de ce site. Veillez à vérifier les informations auprès des sources officielles de l'EPFL.

Graph Chatbot

Chattez avec Graph Search

Posez n’importe quelle question sur les cours, conférences, exercices, recherches, actualités, etc. de l’EPFL ou essayez les exemples de questions ci-dessous.

AVERTISSEMENT : Le chatbot Graph n'est pas programmé pour fournir des réponses explicites ou catégoriques à vos questions. Il transforme plutôt vos questions en demandes API qui sont distribuées aux différents services informatiques officiellement administrés par l'EPFL. Son but est uniquement de collecter et de recommander des références pertinentes à des contenus que vous pouvez explorer pour vous aider à répondre à vos questions.