dateTime element

The <dateTime> element specifies the date and time when a rule is activated or deactivated. However, the rule is activated or deactivated only if the rule has been loaded into a running Active Correlation Technology engine prior to that specified time.

Details

If the rule has not been loaded into a running Active Correlation Technology engine prior to the specified time for activation, the rule is never activated. If the rule has not been loaded into a running Active Correlation Technology engine prior to the specified time for deactivation, the rule is set to the state that is defined by the <start> element, and it is never deactivated by the <stop> element.

The content of the <dateTime> element must be a string that follows the format for the dateTime data type in the standard XML schema. For example, dateTime consists of finite-length sequences of characters in the following form:

yyyy '-' mm '-' dd 'T' hh ':' mm ':' ss ('.' s+)? (zzzzzz)?
  • yyyy is a four-or-more digit numeral that represents the year. If it is more than four digits, leading zeros are prohibited, and 0000 is prohibited.
  • The remaining '-'s are separators between parts of the date portion.
  • The first mm is a two-digit numeral that represents the month, starting with 01.
  • dd is a two-digit numeral that represents the day of the month, starting with 01.
  • T is a separator that indicates that the time-of-day follows.
  • hh is a two-digit numeral that represents the hour of the day in the 24-hour system, starting with 00 and ending with 23.
  • : is a separator between parts of the time-of-day portion.
  • The second mm is a two-digit numeral that represents the minute, starting with 00 and ending with 59.
  • ss is a two-digit numeral that represents the whole seconds, starting with 00 and ending with 59.
  • '.' s+, if present, represents the fractional seconds.
  • zzzzzz, if present, represents the time zone. The time zone consists of finite-length sequences of characters in the form (('+' | '-') hh ':' mm) | 'Z', where:
    • '+', if present, represents a nonnegative duration, and '-' must not be present.
    • '-', if present, represents a nonpositive duration, and '+' must not be present.
    • hh is a two-digit numeral that represents the hours, starting with 00 and ending with 14.
    • mm is a two-digit numeral that represents the minutes, starting with 00 and ending with 59. However, if the hours value is 14, the minutes value must be 00
    • Z is shorthand for UTC (either +00:00 or -00:00), and as such, no other time zone elements must be present.
Here are two examples of the content of the <dateTime> element:
  • 2005-06-01T13:05:06.07 is June 1, 2005 at 6 seconds, and 7 hundredths of a second past 1:05 p.m. local time.
  • 2005-06-01T13:05:06.07Z is June 1, 2005 at 6 seconds, and 7 hundredths of a second past 1:05 p.m. UTC time, which would be June 1, 2005 at 6 seconds, and 7 hundredths of a second past 9:05 a.m. EDT (or 2005-06-01T09:05:06.07-04:00)

Attributes

<dateTime> has no attributes.

Contained within

<dateTime> is contained within the following elements:

Contains

<dateTime> contains no elements.