https://t0x.dev
A fixed-width, unambiguous timestamp format for cross-vendor data exchange.
YYYYMMDDTHHMMSS.sss
Exactly nineteen characters. Fixed-width. No delimiters except the T separator and the dot before milliseconds.
| Field | Digits | Range |
|---|---|---|
| Year | 4 | 0000-9999 |
| Month | 2 | 01-12 |
| Day | 2 | 01-31 (valid per month) |
| T | 1 | literal separator |
| Hour | 2 | 00-23 |
| Minute | 2 | 00-59 |
| Second | 2 | 00-59 |
| Dot | 1 | literal separator |
| Milliseconds | 3 | 000-999 (required) |
20260926T154530.001 is 1ms; 20260926T154530.100 is 100ms. On input, shorter fractions may be left-padded (20260926T154530.1 → .001, 20260926T154530.12 → .012). Emitters must always write three digits.20260926T154530. is invalid. Omitting milliseconds entirely (20260926T154530) is invalid.MM/DD/YYYY vs DD/MM/YYYY.T or the millisecond field and fails validation immediately.T separator survives legacy systems, plain-text logs, and pipelines that strip non-ASCII characters.20260926T154530.123
20260926T154530.001
20260926T000000.000
A timestamp is valid if and only if:
^\d{8}T\d{6}\.\d{1,3}$ (parsers left-pad ms to three digits)^\d{8}T\d{6}\.\d{3}$ (exactly 19 characters)See t0x.py in this repository. It provides validate, parse, format, to_epoch_ms, and from_epoch_ms.
t0x Time Keeper t0xstandard@gmail.com