ONIX Code Lists Issue 63, October 2023

List 55: Date format

Value Description Notes
00 YYYYMMDD Common Era year, month and day (default for most dates)
01 YYYYMM Year and month
02 YYYYWW Year and week number
03 YYYYQ Year and quarter (Q = 1, 2, 3, 4, with 1 = Jan to Mar)
04 YYYYS Year and season (S = 1, 2, 3, 4, with 1 = ‘Spring’)
05 YYYY Year (default for some dates)
06 YYYYMMDDYYYYMMDD Spread of exact dates
07 YYYYMMYYYYMM Spread of months
08 YYYYWWYYYYWW Spread of week numbers
09 YYYYQYYYYQ Spread of quarters
10 YYYYSYYYYS Spread of seasons
11 YYYYYYYY Spread of years
12 Text string For complex, approximate or uncertain dates, or dates BCE. Suggested maximum length 100 characters
13 YYYYMMDDThhmm Exact time. Use ONLY when exact times with hour/minute precision are relevant. By default, time is local. Alternatively, the time may be suffixed with an optional ‘Z’ for UTC times, or with ‘+’ or ‘-’ and an hhmm timezone offset from UTC. Times without a timezone are ‘rolling’ local times, times qualified with a timezone (using Z, + or -) specify a particular instant in time
14 YYYYMMDDThhmmss Exact time. Use ONLY when exact times with second precision are relevant. By default, time is local. Alternatively, the time may be suffixed with an optional ‘Z’ for UTC times, or with ‘+’ or ‘-’ and an hhmm timezone offset from UTC. Times without a timezone are ‘rolling’ local times, times qualified with a timezone (using Z, + or -) specify a particular instant in time
20 YYYYMMDD (H) Year month day (Hijri calendar)
21 YYYYMM (H) Year and month (Hijri calendar)
25 YYYY (H) Year (Hijri calendar)
32 Text string (H) For complex, approximate or uncertain dates (Hijri calendar), text would usually be in Arabic script. Suggested maximum length 100 characters