To properly display this page you need a browser with JavaScript support.
×
Menu
Index
Search
Search
Search
TeraByte Scripting Language
TBScript Language Reference
GETTIME Subroutine
Prev
Next
Print version
To properly display this page you need a browser with JavaScript support.
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