Darwin Help

Back to Index

UTCTime

Function UTCTime - UTC time in seconds or wall-clock time of evaluation

Calling Sequence  UTCTime()
UTCTime(expr)
Parameters
NameTypeDescription

expr expression 
Return Type  numeric
Synopsis This function returns the total wall-clock time taken to evaluate the expression expr. When no expression is passed, it returns the number of seconds since 00:00:00 GMT, January 1, 1970. This is called UTC time or Coordinated Universal Time.
Examples
> UTCTime();
1276873827.2080
> UTCTime(log10(factorial(100)));
8.1062e-06
> UTCTime( CallSystem('sleep 2') );
2.0230
See also date,   time,   TimedCallSystem