Dates and datetimes
The standard notations for Utopian dates and datetimes are similar to the international standard ISO 8601 for Gregorian equivalents, with a few differences:
- Martian mir numbers, dates and datetimes are prefixed with ‘M’, to indicate Mars and to distinguish them from Terran equivalents.
- Mir numbers do not need to be zero-padded to a fixed number of digits. The current mir number (222 at the time of writing) has 3 digits, but this is written as M222, not M0222. When it reaches 1000, it will be M1000. This is for future-proofing. Eventually mir numbers will have 4 digits, 5 digits, and so on. (ISO 8601 uses four-digit years by default, and only allows longer years, such as +10000, by mutual agreement.)
- The first mir in the epoch is M0.
- Negative mir numbers indicate mirs before the start of the epoch, e.g. M-100. There is no equivalent of BC/AD or BCE/CE notation.
- As with Terran years, thousands separators are not used in mir numbers, e.g. M12345 (not M12,345 or M12.345 or M12 345).
- The date separator character is ‘/’ (forward slash). On Earth, we use different date separators in different countries, including ‘-’ (hyphen, dash, or minus sign), ‘/’ (forward slash), and ‘.’ (period or decimal point). The ISO 8601 standard uses the dash (e.g. “2016-12-06”). However, the hyphen and period characters have other meanings within the Mars datetime format, as a negative sign and a decimal point respectively; therefore, we must choose an alternative for clarity. The forward slash is the most obvious choice, as it clearly indicates a date when used in this way. A different character might be unfamiliar to write, less likely to be adopted, and less obviously a date. The ‘M’ prefix should limit confusion with Terran dates better than an unusual separator.
- As in ISO 8601, the date parts are arranged from most to least significant, i.e. M{mir}/{month}/{sol}, e.g. M216/17/08.
- As in ISO 8601, month and sol parts of the date are zero-padded to 2 digits, e.g. M216/17/08.
- Times are usually displayed with microsol resolution by showing the number of millisols to 3 decimal places. Both the number of millisols and microsols are zero-padded to 3 digits, e.g. 012.345, 888.222, 500.000.
- Unlike ISO 8601, which uses ‘T’, a date and time are combined into a single datetime string using a space as the separator, as RFC 3339 allows, e.g. M216/17/08 123.456.
- When displayed without a date, Martian times can optionally be prefixed with ‘MT’, meaning ‘Mars Time’, to distinguish them from ordinary numbers if necessary, e.g. MT012.345, MT567.222.
- Times can also be shown with only millisol resolution, e.g. MT012, MT777.
- If required, a time zone can be shown as its offset from MTC in millisols, with a sign, e.g. M216/17/08 123.456+300. A time zone offset of +000 indicates MTC (Coordinated Mars Time).
- The time zone is never shown in a datetime using its code (e.g. “AGT”).
| Display | Format | Example(s) |
|---|---|---|
| Mir | M{mir} | M216 M-95 |
| Month | M{mir}/{month} | M216/17 |
| Date | M{mir}/{month}/{sol} | M216/17/08 M-100/04/23 |
| Time, low precision | MT{mil} | MT123 |
| Time, high precision | MT{mil}.{mic} | MT123.456 |
| Datetime, low precision | M{mir}/{month}/{sol} {mil} | M216/17/08 123 |
| Datetime, high precision | M{mir}/{month}/{sol} {mil}.{mic} | M216/17/08 123.456 |
| Datetime with time zone | M{mir}/{month}/{sol} {mil}.{mic}{offset} | M216/17/08 123.456+300 |
Where:
{mir} = Mir as an integer (negative, 0, or positive), with no thousands separators.
{month} = Month as a zero-padded 2-digit integer in the range 01–24.
{sol} = Sol of the month as a zero-padded 2-digit integer in the range 01–28.
{mil} = Millisols as a zero-padded 3-digit integer in the range 000–999.
{mic} = Microsols as a zero-padded 3-digit integer in the range 000–999.
{offset} = Offset of the time zone from MTC in millisols, as a signed, zero-padded 3-digit integer; always a multiple of 100, from -500 to +500, e.g. +300, -500 or +000.
| Time of day/sol | Earth | Mars |
|---|---|---|
| Midnight; start of new day/sol. | 00:00:00 | MT000.000 |
| Average time of sunrise; start of morning. | 06:00:00 | MT250.000 |
| Noon; start of afternoon. | 12:00:00 | MT500.000 |
| Average time of sunset; start of evening. | 18:00:00 | MT750.000 |
Long date format
The long date format looks like:
M{mir} {monthName} {sol}
For example:
M216 Tucana 24
The ‘M’ prefix in front of the mir indicates a Martian date, and eliminates confusion about which number refers to the mir and which to the sol.