misc_functions
This is an old revision of the document!
Miscellaneous functions
GetTime
The GetTime function returns table with local time information. sec field contains seconds in Unixtime format. ns field contains nanoseconds passed since current second.
This function is available since WebHMI version 3.6
Example:
function main (userId) local time = GetTime(); INFO("Seconds: " .. time.sec); INFO("Nanoseconds:" .. time.ns); end
misc_functions.1557829696.txt.gz ยท Last modified: 2019/05/14 10:28 by akuzmuk