DTI Time Converter
Deterministic date conversion for the Dikenocracy framework
What it does
The DTI Time Converter translates between Gregorian dates, Hebrew dates, and the Dikenocratic Time Interface (DTI). The DTI model is based on deterministic mapping through JDN and a 360-day derived year representation.
The canonical rules are: DTI-Day = JDN,
DY = floor(JDN / 360),
DOY = (JDN mod 360) + 1.
Every conversion is fully reversible and machine-auditable.
Open the converter
Technical details
The converter is a standalone Python package located in
Converter DTI/. It includes a deterministic domain
layer, a FastAPI HTTP service, and an optional Streamlit client.
REST Endpoints
GET /health
POST /convert/gregorian-to-dti
POST /convert/dti-to-gregorian
DKP-0-TIME-001
Implements all normative test vectors. The 2000-01-01 vector follows canonical formula output (DY6809-306). See PROTOCOL_NOTES.md for the rationale.
Ecosystem context
This tool is part of the broader Dikenocracy protocol ecosystem. It serves as the reference implementation for the time layer (DKP-0-TIME-001) and provides a foundation for time-indexed governance records, accountability cycles, and audit trails.