EDIFACT DTM segment: date/time/period.

The DTM segment carries date and time information. The first sub-element is the qualifier that identifies what the date means, the second is the value, and the third is the format code. Common qualifiers: 137=document date, 2=delivery requested, 63=latest delivery, 35=delivery date, 131=tax point date, 36=expiry date, 11=despatch date. Common format codes: 102=YYYYMMDD, 203=YYYYMMDDHHmm.

Tag
DTM
Full name
Date/time/period
Part of the message
Message header
Data elements
1

A DTM segment, explained

Hover any part of the segment to see what it is. Open What your system receives to see the JSON or XML CleanEDI delivers.

  1. DTM+137:20260823:102'
    DTMDate/time/period

    Document date: 23 August 2026.

    DTM
    Date/time/period
    137
    Document date (date qualifier)
    102
    CCYYMMDD (date format)

DTM structure

Elements are separated by + and their parts by :. Positions match the explainer, so 2.3 is the third part of the second element.

PositionElementParts
1Date1.1 Qualifier, 1.2 Value, 1.3 Format

Date: Qualifier (1.1)

CodeMeaning
2Requested delivery date
3Invoice date
10Requested shipment date
11Despatch date
13Payment due date
17Estimated delivery date
35Actual delivery date
50Goods receipt date
63Latest delivery date
64Earliest delivery date
69Promised delivery date
137Document date
171Reference date
194Start date
200Pick-up date
206End date
361Best before date

Date: Format (1.3)

CodeMeaning
101YYMMDD
102CCYYMMDD
203CCYYMMDDHHMM
204CCYYMMDDHHMMSS
718Date range CCYYMMDD-CCYYMMDD

Common EANCOM and UN/EDIFACT values. Your trading partner's implementation guide is the final word on which codes they send.

DTM segment FAQ

Have a real message with DTM in it? The explainer breaks down every segment and runs in your browser.

Explain my message

What is the DTM segment in EDIFACT?

DTM is the Date/Time/Period segment. The DTM segment carries date and time information. The first sub-element is the qualifier that identifies what the date means, the second is the value, and the third is the format code. Common qualifiers: 137=document date, 2=delivery requested, 63=latest delivery, 35=delivery date, 131=tax point date, 36=expiry date, 11=despatch date. Common format codes: 102=YYYYMMDD, 203=YYYYMMDDHHmm.

What are the common DTM date: qualifier codes?

2 means requested delivery date; 3 means invoice date; 10 means requested shipment date; 11 means despatch date; 13 means payment due date; 17 means estimated delivery date; 35 means actual delivery date; 50 means goods receipt date.

Where does DTM appear in an EDIFACT message?

DTM belongs to the message header part of a message, alongside UNH, BGM, FTX, RFF.

How do I read a DTM segment in my own message?

Paste the message into the free CleanEDI explainer. It breaks every DTM segment into its elements, translates the codes and shows the JSON and XML your system would receive. Nothing you paste leaves your browser.

Related segments in message header