TIME
Top  Previous  Next

Operating Condition

Syntax:   SET TIME SEQUENCE HHMMSS (time sequence)   
   SET TIME FORMAT HH:MM:SS (time format)   

Default:   SET TIME SEQUENCE HHMMSS (time sequence)   
   SET TIME FORMAT HH:MM:SS (time format)
   
SET TIME sets the time entry sequence and output format, using up to 20 characters. Set TIME entry sequence and display format in separate commands. Use H to specify hours, M for minutes, S for seconds, and .SSS for thousandths. TIME can be specified of up to thousandths of a second. R:BASE stores the setting with the database.

The keyword SEQ (sequence) sets the entry sequence such as HHMMSS while the keyword FOR (format) sets the display format. For example, the format HH:MM:SS can display 14:30:20. R:BASE displays midnight (24:00) as 0:00. You can also include AP to display time on a 12-hour clock. In the previous example, if you change the format to HH:MM:SS AP, R:BASE displays 2:30:20 PM. If the format contains spaces or commas, enclose the format in quotes. Enter the hours, minutes, and seconds in the order SEQ specifies.

Example: Valid Time Formats using two thirty and twenty seconds, p.m.

Time Format
Displays
HH:MM:SS
14:30:20
HH:MM:SS AP
2:30:20 PM
HH/MM/SS
14/30/20
HH-MM-SS AP
2-30-20 PM


TIME can affect time functions. For best results, first set TIME to the default HH:MM:SS and then use the time functions.