Table of contents
Collapse the table of content
Expand the table of content


Owen Duncan|Last Updated: 10/5/2018
1 Contributor


Returns a time value from a value.

Time.From(value as any, optional culture as nullable text) as nullable time  


valueValue to convert.
optional cultureA text value corresponding to the culture values supported on your version of Windows, such as "en-US". If the culture is not specified, the current user culture is used. For a list of culture names, see National Language Support (NLS) API Reference.

Type to convert

textReturns a time value from text value. For more details, see Time.FromText.
datetimeThe time component of a value.
datetimezoneThe time component of the local date and time equivalent of value.
numberA time equivalent to the number of fractional days expressed by value. If value is negative or greater or equal to 1, an error is returned.
any other typeAn Expression.Error is thrown.


  • If value is null, Time.From returns null.

  • If value is time, the same value is returned.


Time.From(0.7575) equals #time(18,10,48)  
Time.From(#datetime(1899, 12, 30, 06, 45, 12)) equals #time(06,45,12)  
© 2018 Microsoft