Date n time
Date and Time in Hii Retail Integrations
Date and time handling can be challenging between systems. Hii Retail adopts the ISO 8601 standard for all date and time formats in input APIs.
Required formats:
- Date and time:
YYYY-MM-DDThh:mm:ss.sTZD
- Time:
hh:mm:ss.sTZD
Where:
- YYYY = four-digit year
- MM = two-digit month (01=January, etc.)
- DD = two-digit day (01–31)
- hh = two-digit hour (00–23, 24-hour format)
- mm = two-digit minute (00–59)
- ss = two-digit second (00–59)
- s = decimal fraction of a second
- TZD = time zone designator (Z, +hh:mm, or -hh:mm)
Examples
2023-04-15T00:00:00Z
— April 15, 00:00:00 UTC2023-04-15T00:00:00+01:00
— April 15, 00:00:00 London (BST)2023-04-15T00:00:00-10
— April 15, 00:00:00 Honolulu
Time Examples
00:00:00Z
— 00:00:00 UTC00:00:00+01:00
— 00:00:00 London (BST)00:00:00-10
— 00:00:00 HonoluluT00:00:00-10
— 00:00:00 Honolulu (with literalT
)