SYSTem:DATE

34980A

SYSTem:DATE

Syntax

SYSTem:DATE <yyyy>,<mm>,<dd>

SYSTem:DATE?

Description

During a scan, the instrument stores all readings and alarms with the current time and date. This command sets the instrument calendar.  

Parameters

Name

Type

Range of Values

Default Value

<yyyy>

Numeric

The current year

This is a required parameter

<mm>

Numeric

The current month

This is a required parameter

<dd>

Numeric

The day of the current month

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 calendar 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 "yyyy,mm,dd".

Examples

The following command sets the calendar to November 21, 2004.

SYST:DATE 2004,11,21

The following query returns the date.

SYST:DATE?

Typical Response:  2004,11,21

See Also

SYSTem:TIME