Time.ToRecord

Syntax

Time.ToRecord(time as time) as record

About

Returns a record containing the parts of the given Time value, time.

  • time: A time value for from which the record of its parts is to be calculated.

Example 1

Convert the #time(11, 56, 2) value into a record containing Time values.

Usage

Time.ToRecord(#time(11, 56, 2))

Output

[
      Hour = 11,
      Minute = 56,
      Second = 2
]