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 |
|---|---|
01 | Date/Time/Period Format |
11 | Despatch Date |
13 | Due Date |
17 | Estimated Arrival Date |
50 | Goods Receipt Date |
69 | Promised Delivery Date |
Code List
| Code | Meaning |
|---|---|
11 | Despatch Date |
132 | Estimated Arrival Date |
133 | Loading Date |
137 | Document Date |
157 | Price Validity Period |
17 | Delivery Date |
2 | Delivery Date / Period |
334 | Event Time |
35 | Actual Delivery Date |
356 | Sales Period |
36 | Expiry Date |
361 | Expiry Date |
366 | Stock Count Date |
50 | Actual Goods Receipt Date |
63 | Delivery Date (Unloading) |
64 | Pick-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.