Time.ToRecordTime.ToRecord

SintaxeSyntax

Time.ToRecord(time as time) as record

SobreAbout

Retorna um registro que contém as partes do valor temporal especificado, time.Returns a record containing the parts of the given Time value, time.

  • time: Um valor time com base no qual o registro das partes deve ser calculado.time: A time value for from which the record of its parts is to be calculated.

Exemplo 1Example 1

Converta o valor de #time(11, 56, 2) em um registro contendo valores de Hora.Convert the #time(11, 56, 2) value into a record containing Time values.

Time.ToRecord(#time(11, 56, 2))
HoraHour 1111
MinuteMinute 5656
SecondSecond 22