i = systime(『time_format『,timestamp_value』』);
function returns the current system time as a six-digit integer in the form HHMMSS, where HH is the hour, MM are the minutes, and SS are the seconds.
Optionally, a string expression time_format can be supplied, using a combination of HH, MM, and SS, to extract only part of the current system time.
Passing an optional numeric expression, timestamp_value
, means that instead of using the system time, the function will use the time, in the local machine's time zone, of a date/time value that came from timestamp
The current time can be returned as a string using the edit function as follows:
The function returns the system time as an integer.
SURVEY_START_HOUR = systime("HH");
SURVEY_START_MINUTE = systime("MM");