SYSTem:TIME

34980A

SYSTem:TIME

Syntax

SYSTem:TIME <hh>,<mm>,<ss.sss>

SYSTem:TIME?

Description

During a scan, the instrument stores all readings and alarms with the current time and date. This command sets the instrument clock (based on a 24-hour clock).  

Parameters

Name

Type

Range of Values

Default Value

<hh>

Numeric

The hour in 24-hour clock format

This is a required parameter

<mm>

Numeric

The minutes

This is a required parameter

<ss.sss>

Numeric

The seconds, with 1 ms resolution

This is a required parameter

Remarks

  • When shipped from the factory, the instrument is set to the current time and date for Greenwich Mean Time (GMT).

  • The clock setting is stored in non-volatile memory, and does not change when power has been off, after a Factory Reset (*RST command), or after an Instrument Preset (SYSTem:PRESet command).   

Return Format

The query command returns three comma-separated values in the form "hh,mm,sss.ss".

Examples

The following command sets the clock to 3:30:23.000 PM.

SYST:TIME 15,30,23.000

The following query returns the current time.

SYST:TIME?

Typical Response:  15,30,23.000

See Also

SYSTem:DATE