beautypg.com

Time format – Measurement Computing Micro 488/EX rev.2.1 User Manual

Page 157

background image

Section 5

Command Descriptions

5.87

TIME FORMAT

The TIME FORMAT command allows the user to select the format of the TIME

command response. Several different formats are provide including 12 and 24 hour
representations. The power-on factory default is HH:MM:SS AM. This default can be
modified with the SAVE command. Refer to the SAVE command for details.

The relationship between the 12 and 24 hour operations are…

24 Hour

12 Hour

Midnight

00:00:00

12:00:00 AM

01:00:00

01:00:00 AM

11:59:59

11:59:59 AM

Noon (Midday)

12:00:00

12:00:00 PM

13:00:00

01:00:00 PM

23:59:59

11:59:59 PM

SYNTAX

TIME

FORMAT [;] {option}

The option specifies one of the following formats…

option

Example Output

Length

12/24 Hr

HH:MM 12:21

5 Bytes Fixed

24 Hr

HH:MM:SS 12:21:32

8 Bytes Fixed

24 Hr

HH:MM /AM

12:21

5 Bytes Fixed

12 Hr

HH:MM:SS /AM

12:21:32

8 Bytes Fixed

12 Hr

HH:MM AM

12:21 AM

8 Bytes Fixed

12 Hr

HH:MM:SS AM

12:21:32 AM

11 Bytes Fixed

12 Hr

The AM or /AM is used to set the 12 hour output format.
It may be interchaged with PM or /PM which has the same
effect.

RESPONSE

None

MODE Any