grandMA3 User Manual Publication
Time()
grandMA3 User Manual » Plugins » Lua Functions - Object-Free API » Time()
|
Version 2.1
|
Description
The Time function returns the time (in seconds) the station has been on, as a number (float). It is basically a stopwatch that starts when the grandMA3 application starts. It is not the current time of day or the session online time.
Arguments
This function does not accept any arguments.
Return
-
Number:
The returned number (float) is the on-time for the station.
Example
This example finds, formats, and prints the time.
Lua |
return function() |