At a Glance

The Time of Day type coded in 32 bit format contains the following information:

  • the hour coded in an 8-bit field (2 most significant half-bytes)

  • the minutes coded in an 8-bit field (2 half bytes)

  • the seconds coded in an 8-bit field (2 half bytes)

NOTE: The 8 least significant bits are unused.

Representation in BCD format of the time of day 13:25:47:

Hour (13)

Minutes (25)

Seconds (47)

Least significant byte

0001 0011

0010 0101

0100 0111

Unused

Syntax Rules

The Time of Day type is entered as follows: TOD#<Hour>:<Minutes>:<Seconds>

This table shows the lower/upper limits in each field.

Field

Limits

Comment

Hour

[00,23]

The left 0 is always displayed, but can be omitted at the time of entry

Minute

[00,59]

The left 0 is always displayed, but can be omitted at the time of entry

Second

[00,59]

The left 0 is always displayed, but can be omitted at the time of entry

Example:

Entry

Comment

TOD#1:59:0

The left 0 of the hours and seconds can be omitted

tod#23:10:59

The prefix can be written in lower case

Tod#0:0:0

The prefix can be mixed (lower\upper case)