LTIME_OF_DAY Constants

Overview

Use this type of constant to store times of the day in 64 bit format.

Syntax

ltod#<time declaration>

Instead of ltod# you can also use the following:

  • LTOD#

  • ltime_of_day#

  • LTIME_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.

LTIME_OF_DAY values are internally handled as LWORD values, containing the time span in nanoseconds since 00:00 clock.

Examples

LTIME_OF_DAY#15:36:30.123456789
ltod#00:00:00

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