TIME_OF_DAY Constants

Overview

Use this type of constant to store times of the day.

Syntax

tod#<time declaration>

Instead of tod# you can also use the following:

  • TOD#

  • time_of_day#

  • TIME_OF_DAY#

Enter the time declaration in format <hour:minute:second>.

You can enter seconds as real numbers. This allows you to specify fractions of a second.

TIME_OF_DAY values are internally handled as DWORD values, containing the time span in milliseconds since 00:00 clock.

Examples

TIME_OF_DAY#15:36:30.123
tod#00:00:00

For further information, refer to the description of the Date and Time Data Types.