The DateTimeToTime function is a built-in function that converts DateTime dt to a time value, dropping the date component.

Input parameters

dt: DateTime Type

Output parameters

Time Type

Examples

Usage

Result

DateTimeToTime( #1982-05-21 22:20:30# )

#22:20:30#

Remarks

You should check the limits of the DateTime data type.

See Also

Available Conversion Functions to Time | Available Built-in Functions