Export "timeofday" function for Lua scripts, allowing scripts to
obtain a wall clock time in microseconds since the Unix epoch.