2.2.1.3 Date and Time
This section specifies the ABNF rules for date and time values. These values can be specified in strings in WSRM Protocol method parameters and XML data elements.
-
date-fullyear = 4DIGIT date-month = 2DIGIT ; 01-12 date-month-day = 2DIGIT ; 01-28, 01-29, 01-30, 01-31 based on ; date-month date = date-fullyear "-" date-month "-" date-month-day time-24-hour = 2DIGIT ; 00-23 time-minute = 2DIGIT ; 00-59 time-second = 2DIGIT ; 00-58, 00-59, 00-60 based on leap ; second rules time-secfrac = 3DIGIT time = time-24-hour ":" time-minute ":" time-second time-and-secfraq = time-24-hour ":" time-minute ":" time-second "." time-secfrac date-colon-time = date-fullyear ":" date-month ":" date-month-day ":" time-24-hour ":" time-minute ":" time-second ":" time-secfrac date-and-time = date " " time-and-secfraq date-T-time = date "T" time
date-colon-time values are specified in Machine XML elements (section 2.2.5.17). See the Machine example (section 4.2.14).<3>
date-and-time values are specified in parameters to some IWRMAccounting interface (section 3.2.4.3) methods. See the ExecuteAccountingQuery method (section 3.2.4.3.3).
date-T-time values are specified in Events XML elements (section 2.2.5.15). See the Events example (section 4.2.12).