The TimeOfDay() function returns the duration that represents the fraction of the day that has elapsed since midnight.
TimeOfDay()
This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.
Returns the duration that represents the fraction of the day that has elapsed since midnight.
Returns Unknown if one of the parameter values is unknown or outside the common valid date boundaries.
Unknown
TimeOfDay(
datetime
)
TimeOfDay('2017-03-31T13:27:00') =>Result: '13h27m'
TimeOfDay('2017-03-31T13:27:00')
TimeOfDay() =>Result: unknown
date time
☑️
a specified date and time
Last updated 3 years ago
Was this helpful?