Last updated March 2020
msys.core.get_now_ts — Get the current time
If this function is called from a scheduler thread, it will return the time from the current ec_scheduler_inst structure. If it is called from a non-scheduler thread, it will return the value returned by
The value returned is the epoch time in UTC measured in seconds.
Because this function is in the msys.core namespace, an explicit
require('msys.core') is not necessary.
Was this page helpful?