TimeofDay

Program ID

MetraPipeline.TimeOfDay.1

Description

The Time Of Day plug-in is used to extract the time of day portion of a date/time property.  For example, the date/time property 1998-11-19T08:13:44Z would be converted to the time of day value of 08:13:44.

Required Input Properties

Tag name

Value Type

Description

datetime

Datetime

Any date/time value.

Required Output Properties

Tag name

Value type

Description

timeofday

Time

The time of day of the input property referred to by datetime.

Additional Configuration Tags

None

Configuration Example

  <configdata>
    <datetime>_Timestamp</datetime>
    <timeofday>tod</timeofday>
  </configdata>

Remarks

Time of day is represented by the Pipeline as an integer value holding the number of seconds past midnight.