×
Menu
Index

GETTIME Subroutine

 
Usage:
s = GETTIME()
 
Description:
The GETTIME subroutine returns the current time as a string.
 
Example:
sub main()
   // Extract components of current time
   time = gettime()
   hour = mid(time, 1, 2)
   min = mid(time, 4, 2)
   sec = mid(time, 7, 2)
end sub