DAYS
DAYS. The EDIFACT family of day-related codes used to qualify recurrences and validity ranges.
Definition
The term DAYS in EDIFACT designates the family of codes that qualify days, ranges or recurrences. They are carried by DTM (qualifier 167 Period qualifier), QTY (qualifier N Days), or code lists such as UNCL 2151 (Period type code qualifier) and UNCL 2152 (Day type code). They allow expressing: business days (B), calendar days (C), holiday-excluded days, weekends, recurrence days.
Origin
Day-related codes appeared in the early UNTDID versions of the 1980s. They were rationalised by UN/CEFACT around the UNCL 2151 (Period type) and UNCL 2152 (Day type) lists to enable precise expression of recurrence calendars: weekly deliveries, payment due nets in 30 business days, rolling forecasts over 90 calendar days.
Example in context
QTY+47:30:DAY'
DTM+167:20260514-20260520:718'
Here, the QTY segment expresses "30 days" (qualifier 47 = General quantity, unit DAY), and the DTM with qualifier 167 (Period) carries a 7-day range in the ISO 8601-like format with qualifier 718 (Date range). This set might appear in a DELFOR (Delivery Forecast) message to express a lead time and a delivery window.