YearMonthDay
Yearmonthday is a date notation that represents a calendar date by listing its year, month, and day in that order. It is commonly seen as the calendar date form yyyy-mm-dd, as standardized by ISO 8601, or as a compact numeric form yyyymmdd without separators. The year-first arrangement helps ensure unambiguous interpretation across locales that use different day–month orders and supports straightforward lexicographic sorting when encoded as a fixed-width numeric value.
In practice, yearmonthday is used in computing, data interchange, filenames, and databases where an unambiguous, sortable
When validating yearmonthday values, systems typically enforce that the year, month, and day constitute a valid
Yearmonthday supports a range of calendar-related operations, such as comparisons, formatting, and conversions to other date