EasyManuals Logo

Keithley 2651A Reference Manual

Keithley 2651A
800 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #476 background imageLoading...
Page #476 background image
Section 7: Command reference Model 2651A High Power System SourceMeter® Instrument Reference Manual
7-168 2651A-901-01 Rev. A / March 2011
To use the Lua os.time() function to generate a time value in UTC time, use the following format:
os.time({year = year, month = month, day = day, hour = hour, min = min, sec = sec})
Where:
year
= A full year (2006 or later)
month
= The desired month (1 to 12)
day
= The desired day (1 to 31)
hour
= The desired hour (00 to 23)
min
= The desired minute (00 to 59)
sec
= The desired second (00 to 59)
When you are using the os.time() function, make sure that you include the year, month, and day
parameters, which are mandatory (the rest are optional). If the other parameters are not used, they default to
noon for that day.
Set the time zone before calling the os.time() function.
Example
systemTime = os.time({year = 2010,
month = 3,
day = 31,
hour = 14,
min = 25})
settime(systemTime)
Sets the date and time to Mar 31, 2010 at
2:25 pm.
Also see
gettimezone() (on page 7-92)
settimezone() (on page 7-168)
settimezone()
This function sets the local time zone.
Type TSP-Link accessible
Affected by Where saved Default value
Function No
Usage
settimezone(offset)
settimezone(offset, dstOffset, dstStart, dstEnd)
offset
String representing offset from UTC
dstOffset
String representing daylight savings offset from UTC
dstStart
String representing when daylight savings time starts
dstEnd
String representing when daylight savings time ends

Table of Contents

Other manuals for Keithley 2651A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 2651A and is the answer not in the manual?

Keithley 2651A Specifications

General IconGeneral
BrandKeithley
Model2651A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals