ToTimeOfDay

Converts a timestamp or text value into a time.

Variants

ToTimeOfDay(Text text)

Converts the text value into a time.

Parameters

text
The text value you want to convert.

Returns

Time

Description

The text can represent various popular time formats, including "3 pm", "3:04 pm", "22:00", "2:03:29 am", and "12:03:29.345".

Examples

ToTimeOfDay(Timestamp timestamp)

Converts the timestamp into a time by returning the time, in the local time zone, in which the timestamp falls.

Parameters

timestamp
The timestamp value you want to convert.

Returns

Time

Examples