HHMMSS: Retrieving the Current Time

How to:

The HHMMSS function retrieves the current time from the operating system as an eight character string, separating the hours, minutes, and seconds with periods.


Top of page

x
Syntax: How to Retrieve the Current Time
HHMMSS(output)

where:

output

Alphanumeric, at least A8



Example: Retrieving the Current Time

This example,

HMMSS('A10')

creates a character string representing current time, like 12.09.47. Note that shorter output_format format will cause truncation of output.


iWay Software