dateTime

dateTime

Term

dateTime

Business term

XML "dateTime" Data Type

Definition

XSD dateTime type

The dateTime is specified in the following form "YYYY-MM-DDThh:mm:ss.s+" where:

  • YYYY indicates the year

  • MM indicates the month

  • DD indicates the day

  • T indicates the start of the required time section

  • hh indicates the hour

  • mm indicates the minute

  • ss indicates the second

  • s+ (if present) represents the fractional seconds

Note: 

  • All components except fractional seconds are required!

  • A 'Z' shall be appended if the dateTime is UTC.

Allowed values

 

Comments

"dateTime" is the XML defined name of this type. 

The following is an example of a dateTime declaration in a schema:<xs:element name="startTime" type="xs:dateTime"/>

An element in your document might look like this:<startTime>2022-05-30T09:00:00</startTime>
If UTC:  <startTime>2002-05-30T09:00:00Z</startTime>

Status

Approved

XML type

xs:dateTime

AIRM equivalent

DateTime

AIDM equivalent

Date Time