TOD

The TOD function returns the current time of day in the form hh:mm:ss using a 24-hour format.

Return Value

ID

Syntax

TOD

Examples

Example 8-145 Displaying the Current Time

The following statement sends the current time of day to the current outfile.

show tod

This statement produces the following output.

17:30:46