Section 7: Command reference
gettimezone()
This function retrieves the local time zone.
Type
TSP-Link accessible
Function
Yes
Usage
timeZone = gettimezone()
timeZone
Details
See settimezone() for additional details on the time zone format and a description of the fields. timeZone
can be in either of the following formats:
•
If one argument was used with settimezone(), the format used is:
GMThh:mm:ss
•
If four arguments were used with settimezone(), the format used is:
GMThh:mm:ssGMThh:mm:ss,Mmm.w.dw/hh:mm:ss,Mmm.w.dw/hh:mm:ss
Example
timezone = gettimezone()
Also see
settimezone()
7-96
Affected by
The local timezone of the instrument
(on page 7-168)
Models 707B and 708B Switching Matrix Reference Manual
Where saved
Default value
Reads the value of the local timezone.
707B-901-01 Rev. A / August 2010