Skip to content

EdiDateTimePeriod

  • Container free time, demurrage and detention clocks, billing deadlines, bill of lading dates, multimodal journeys, EPCIS events and EDI timestamps.

A period between two local date-times, as a UN/EDIFACT period (719) or an X12 range (RDT, DTS) states it: the result of parseEdifactDateTimePeriod and parseX12DateTimeRange.

import type { EdiDateTimePeriod } from "@northguild/gmt";
MemberTypeDescription
startstringThe local date-time the period starts at, YYYY-MM-DDTHH:MM:SS. Seconds are always written.
endstringThe local date-time the period ends at, YYYY-MM-DDTHH:MM:SS. Seconds are always written. It is never before start, and may equal it.
interface EdiDateTimePeriod {
/** The local date-time the period starts at, `YYYY-MM-DDTHH:MM:SS`. Seconds are always written. */
start: string;
/**
* The local date-time the period ends at, `YYYY-MM-DDTHH:MM:SS`. Seconds are always written. It
* is never before `start`, and may equal it.
*/
end: string;
}

types/edi.ts

Accessibility
© 2026 NorthGuild · Licences

Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.