TimeOfDay()

Format

TimeOfDay(Arg1)

Returns

Returns the duration of the time of day part of every input date time value.

Inputs

Arg1: The input values whose time of day part should be returned as duration.
Behaviour: Required
Dimensions: Collection, SingleValue, MultiCollection
Valid data types: DateTime, Decimal, Integer, String

How to format data types

Examples

Expression: TimeOfDay({utc'2017-04-17 13:55:30'})
Result: Returns 13 hours, 55 minutes and 30 seconds as duration.

Expression: TimeOfDay({Tag1})
Result: Returns the time of day part of every value that is fetched for {Tag1}.

Release History

  • TimeOfDay() 4.6.5
    • Changed Arg1 parameter to support MultiCollection values.
  • TimeOfDay() 4.5.1
    • Initial version

Comments are closed