Comment on page
Time.From
Creates a time from the given value.
function (optionalvalue
as nullable any, optionalculture
as nullable any) as nullable any
Returns a
time
value from the given value
. If the given value
is null
, Time.From
returns null
. If the given value
is time
, value
is returned. Values of the following types can be converted to a time
value: If
value
is of any other type, an error is returned.Time
Convert
0.7575
to a time
value.Time.From(0.7575)
time(18,10,48)
Convert
#datetime(1899, 12, 30, 06, 45, 12)
to a time
value.Time.From(#datetime(1899, 12, 30, 06, 45, 12))
time(06, 45, 12)
Last modified 5yr ago