DXN local-datetime (@local-datetime "YYYY-MM-DDTHH:MM:SS(.f{1,9})?")
— a date and a wall-clock time with no offset, so no instant (DXN.md
§1.3, Jan, 2026-10-20). Stored as localNanoseconds, the nanoseconds
since 1970-01-01T00:00:00 on the wall clock, .dxnb's own shape
(DXN.md §2.2), as DXNDateTime keeps its epoch.
toDate()/fromDate() read and write a Date's UTC fields — a
documented convention, as DXNDate's UTC midnight is, since a Date
is an instant and this is not one.
DXN
local-datetime(@local-datetime "YYYY-MM-DDTHH:MM:SS(.f{1,9})?") — a date and a wall-clock time with no offset, so no instant (DXN.md§1.3, Jan, 2026-10-20). Stored aslocalNanoseconds, the nanoseconds since 1970-01-01T00:00:00 on the wall clock,.dxnb's own shape (DXN.md§2.2), asDXNDateTimekeeps its epoch.toDate()/fromDate()read and write aDate's UTC fields — a documented convention, asDXNDate's UTC midnight is, since aDateis an instant and this is not one.