DTM — Date / Time / Period

EDIFACT segment
📘

Carries a date, time or period. The qualifier in the first element says which date is meant: 137 document date, 2 delivery date, 35 actual delivery date, and so on.

Example

DTM+137:20260117:102'

Data Elements

Pos.Description
01Date/Time/Period Format
11Despatch Date
13Due Date
17Estimated Arrival Date
50Goods Receipt Date
69Promised Delivery Date

Code List

CodeMeaning
11Despatch Date
132Estimated Arrival Date
133Loading Date
137Document Date
157Price Validity Period
17Delivery Date
2Delivery Date / Period
334Event Time
35Actual Delivery Date
356Sales Period
36Expiry Date
361Expiry Date
366Stock Count Date
50Actual Goods Receipt Date
63Delivery Date (Unloading)
64Pick-up Date (Loading)

Watch out

The third element is the format code: 102 = YYYYMMDD, 203 = YYYYMMDDHHMM, 718 = a date range. Parsing the value without reading the format is a frequent source of bugs.

← All segments