IEEE-488 Reference
3-132
3.22.8 :DATE <yr>, <mo>, <day> :SYSTem:DATE <yr>, <mo>, <day> Set date for clock
Parameters <yr> = 1994 to 2093 Specify year
<mo> = 1 to 12 Specify month
<day> = 1 to 31 Specify day
Query :DATE? Query the date
Description This command is used to set the date for the real-time clock. Setting an invalid date (i.e. Febru-
ary 30, 1995) result in an error and the previous date is retained.
3.22.9 :TIME <hr>, <min>, <sec> :SYSTem:TIME <hr>, <min>, <sec> Set time for clock
Parameters <hr> = 0 to 23 Specify hour (24 hr format)
<min> = 0 to 59 Specify minute
<sec> = 0.00 to 59.99 Specify second (rounded to 1/100 sec.)
Query :TIME? Query the time
Description This command is used to set the time for the real-time clock. Note that the time must be set using
the 24-hour format (i.e. hour 13 is 1PM). Setting an invalid time results in an error and the pre-
vious time is retained.
:TIME? returns the time to the nearest hundredth of a second.
3.22.10 :TSTamp commands
The following commands are used to configure and control the timestamp. For more informa-
tion on timestamp, see paragraphs 3.16 (:FORMat:ELEMents) and 3.23.7 (:TRACe:TSTamp
:FORMat).
:TYPE <name>
:SYSTem:TSTamp:TYPE <name> Select timestamp type
Parameters <name> = RELative Select relative-time timestamp
RTClock Select real-time timestamp
Query :TYPE? Query timestamp type
Description This command is used to select the timestamp type. RTClock selects the real-time clock times-
tamp. Readings are reference to the date and time. RTClock is a 100 year (max) calendar with
10msec resolution.
RELative selects the relative-time timestamp. Readings are referenced (in seconds) to a timer.
The timer starts at zero seconds when the instrument is turned on or when the timestamp is reset
(see next command). RELative is a 55 day (max) clock with 1usec resolution.