NTP-2: Standards for Encoding, Time and Localization
Authors: Danthur Lice
Date of Creation: 2025-01-12
Date of Publication: 2025-01-15
License: NCL-11
1. Scope
2. Normative Principles
3. Technical Specification
3.1 Encoding
3.2 Timezone and Timestamp Format
YYYY-MM-DDTHH:mm:ss.sssZ
Example:
2025-01-01T12:30:45.123Z
HH:mm:ss
Example:
17:45:30
YYYY-MM-DD
Example:
2025-12-31
3.3 Epoch Time
1970-01-01T00:00:00.000Z
3.4 High-Precision Durations
3.5 ISO Weeks and Custom Alignment
1970-01-01 (Thursday)
to 1970-04-01 (Sunday)
1970-04-01 (Monday)
3.6 Number Formatting
3.6.1 Machine-Level Representation
.
)1000.00
0.00000001
1.25001
1,000.00
1.2e+6
3.6.2 Human-Readable Outputs
.
,
1,000.00
25,750,000.500000001
3.7 Language and Localization
en
, pt
, es
)en-US
.3.8 Binary Data Representation
{
"binaryFile": "UEsDBBQAAAAIA...AAA="
}
3.9 Compression Standard
application/zip
)3.10 Enforcement Scope
4. Conclusion
Modified at 2025-05-29 15:54:37