Time.ToRecord

Last updated 3 months ago

Time.ToRecord

Returns a record containing the Time value's parts.

function (time as time) as record

Description

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

Category

Time

Examples

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

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

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