DF.COM.STRING.01 date_time
Description
This format is used to describe date or time.
Data Type
The format date_time has the data type DT.COM.02 string
Data Format
ISO 8601:2019 is the required format for date and type.
The standard defines various date and time formats, which are expressed using a combination of numbers and symbols. Some key elements of ISO 8601:2019 include:
Date Format: Dates are represented in the format "YYYY-MM-DD," where "YYYY" represents the four-digit year, "MM" represents the two-digit month (ranging from 01 to 12), and "DD" represents the two-digit day (ranging from 01 to 31). example, Date Format: "2023-07-19" (July 19, 2023)
Time Format: Times can be represented in either a 24-hour format or a 12-hour format with an "AM" or "PM" indicator. The time format is "hh:mm:ss" for a 24-hour clock or "hh:mm:ss AM/PM" for a 12-hour clock. example, Time Format (24-hour clock): "15:30:00" (3:30 PM) Time Format (12-hour clock): "03:30:00 PM" (3:30 PM)
Combined Date and Time Format: ISO 8601 also allows for the representation of combined date and time information. This format is written as "YYYY-MM-DDThh:mm:ss" for a 24-hour clock or "YYYY-MM-DDThh:mm:ss AM/PM" for a 12-hour clock. example, Combined Date and Time Format (24-hour clock): "2023-07-19T15:30:00" (July 19, 2023, at 3:30 PM) Combined Date and Time Format (12-hour clock): "2023-07-19T03:30:00 PM" (July 19, 2023, at 3:30 PM)
Timezone Designation: The standard includes provisions for representing time zone information. Time zone designations are indicated by adding a "+" or "-" followed by the hours and minutes offset from Coordinated Universal Time (UTC). example: Date and Time Format with Timezone: "2023-07-19T15:30:00+02:00" (July 19, 2023, at 3:30 PM in a timezone with a UTC+02:00 offset)
Last updated