Date

  • The date format used must be ISO 8601, which is an international standard for date and time representation.
  • Dates must be expressed in the format of YYYY-MM-DD, where YYYY represents the year, MM represents the month (with leading zeros), and DD represents the day (with leading zeros).
  • Times can also be included in the format, expressed as HH:MM:SS, where HH represents the hours in 24-hour format, MM represents the minutes, and SS represents the seconds.
  • If the time zone is known, it can also be included using the format ±HH:MM, where the plus or minus sign indicates the time zone offset from UTC/GMT and HH:MM represent the hours and minutes offset, respectively.
  • Examples of valid ISO 8601 date formats include:
    • 2023-04-02 (for a date without a time)
    • 2023-04-02T15:30:00 (for a date with a time)
    • 2023-04-02T15:30:00-05:00 (for a date with a time and time zone offset)
    • 2023-04-02T15:30:00+02:00 (for a date with a time and time zone offset)