I'd try with the syssec() function.
There's a difference however, Unix-second starts to count from 1.1.1970 00:00:00 GMT, while syssec() does from 1.1.2000 00:00:00, see the help.
As 1.1.2000 00:00:00 is 946684800 in Unix-time [url]http://www.epochconverter.com[/url], it may suffice to subtract that constant from Unix-time and put it into sysec().
Not tested however.
↧