Time.ToText
Time.ToText(time as nullable time, optional format as nullable text, optional culture as nullable text) as nullable text
Returns a textual representation of time, the Time value, time. This function takes in an optional format parameter format. For a complete list of supported formats, please refer to the Library specification document.
Get a textual representation of #time(11, 56, 2).
Time.ToText(#time(11, 56, 2))
"11:56 AM"
Get a textual representation of #time(11, 56, 2) with format option.
Time.ToText(#time(11, 56, 2), "hh:mm")
"11:56"
Show: