time - get current time in seconds, msecs and usecs.
time();
This function returns the current time in microseconds, milliseconds and then in seconds.
Note: In the followings examples, the _ between the { should be removed to make it work.
res={_{ a=time(); a;}}. return res={"usecs":79337,"msecs":79,"secs":1379677951}. res={_{ a=time(); sleep(1,200); b = time(); a.secs < b.secs; }}. return res=true. res={_{ a=time(); sleep(0,10); b = time(); b.msecs - a.msecs; }}. return res=true.
Written by Pierre Laplante and Caroline Laplante, <laplante@sednove.com>
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.
1.0 2014-09-09 21:24:14 laplante@sednove.com