LogoLogo
WebsiteGitHubSlack
Common v1.0.0
Common v1.0.0
  • Digital Convergence Initiative (DCI)
    • About DCI
    • DCI Objective
    • Terminology
    • Acronyms
    • Licensing
  • Standards for Interoperability Interfaces
    • Structure & Versioning of the Standards
    • Naming Conventions
    • Common Assumptions
    • Common Exception Handling
    • Common Standards for Interoperability Interfaces
      • Process
        • PRS.COM.01 Standards Creation
      • Data
        • File Type: JSON-LD
        • Data Objects
          • DO.COM.01 Identifier
          • DO.COM.02 Name
          • DO.COM.03 Address
          • DO.COM.04 GeoLocation
          • DO.COM.05 GooglePlusCode
          • DO.COM.06 GeoShape
          • DO.COM.07 Place
        • Code Directory
          • CD.COM.01 identifier_type
          • CD.COM.02 marital_status
          • CD.COM.03 sex
          • CD.COM.04 vital_event
          • CD.COM.05 country
          • CD.COM.06 currency
          • CD.COM.07 relationship_type
          • CD.COM.08 ethnicity
          • CD.COM.09 nationality
          • CD.COM.10: functional_limitation _type
          • CD.COM.11: functional_limitations_level
          • CD.COM.12: payment_status
          • CD.COM.13: group_type
          • CD.COM.14: language_code
          • CD.COM.15: education_level
          • API specific
            • CD.COM.API.01 api_error_codes_common
            • CD.COM.API.02 api_error_codes_search_on_search
            • CD.COM.API.03 api_error_codes_subscribe_unsubscribe
            • CD.COM.API.04 api_error_codes_status_on_status
        • Data Types and Formats
          • DT.COM.01 object
          • DT.COM.02 string
            • Data Formats
              • DF.COM.STRING.01 date_time
              • DF.COM.STRING.02 phone_number
              • DF.COM.STRING.03 distance
              • DF.COM.STRING.04 country_code
              • DF.COM.STRING.05 geo_line
              • DF.COM.STRING.06 polygon
              • DF.COM.STRING.07 email
              • DF.COM.STRING.08 currency
          • DT.COM.03 integer
          • DT.COM.04 decimal
          • DT.COM.05 array
          • DT.COM.06 boolean
        • Data Governance
      • API
        • Design Principles
        • Versioning
        • Methods
          • API.COM.01.ASY Search (Async approach)
          • API.COM.01.SYN Search (Sync approach)
          • API.COM.02 Event Subscription
          • API.COM.03 Event Notification
          • API.COM.04.ASY Status (Async approach)
          • API.COM.04.SYN Status (Sync approach)
    • CRVS with SP-MIS Standards
    • Social Registry v1.0.0
    • Integrated Beneficiary Registry v1.0.0
    • Disability Registry v1.0.0.
    • Farmer Registry v1.0.0.
  • Resources
    • Website
    • GitHub
    • API Documentation
    • Discussion Forum
    • Guide Book
    • References
Powered by GitBook
On this page
  • Description
  • Data Type
  • Data Format

Was this helpful?

  1. Standards for Interoperability Interfaces
  2. Common Standards for Interoperability Interfaces
  3. Data
  4. Data Types and Formats
  5. DT.COM.02 string
  6. Data Formats

DF.COM.STRING.01 date_time

Last updated 2 months ago

Was this helpful?

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

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). For example, Date Format: '2023-07-19' (is 19 July 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. For example, Time Format (24-hour clock): '15:30:00 (is 3:30 PM) and Time Format (12-hour clock): '03:30:00 PM' (is 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. For example, Combined Date and Time Format (24-hour clock): '2023-07-19T15:30:00' (is 19 July 2023, at 3:30 PM) and Combined Date and Time Format (12-hour clock): '2023-07-19T03:30:00 PM' (is 19 July 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). For example: Date and Time Format with Timezone: '2023-07-19T15:30:00+02:00' (is 19 July 2023, at 3:30 PM in a timezone with a UTC+02:00 offset).

ISO 8601:2019