Site Tools


utime_function

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

utime_function [2006/07/11 04:57] (current)
Line 1: Line 1:
 +# $EPIC: utime_function.txt,​v 1.1.1.1 2006/07/11 04:57:43 jnelson Exp $
 +======Synopsis:​======
 +$__time__() \\
 +$__utime__()
 +
 +======Technical:​======
 +These functions return the current time in utc format. ​ The only
 +difference between the two is that $__time__() is accurate to the second,
 +while $__utime__() is accurate to the microsecond. ​ Neither function takes
 +any arguments.
 +
 +======Practical:​======
 +Both functions return a long unsigned integer representing the number
 +of seconds since 18:00, 31 December 1969, which can be parsed into a
 +human-readable format by $[[stime]](). ​ In addition, $utime() returns an
 +additional integer, representing the number of microseconds past the
 +first number that the current time is.
 +
 +======Returns:​======
 +utc time, plus number of microseconds past utc time for $__utime__()
 +
 +======Examples:​======
 +<​file>​
 +$time() ​     might return "​850381369"​
 +$utime() ​    might return "​850381369 56367",​ which is "​850381369.056367"​
 +</​file>​
 +
 +======See Also:======
 +[[.:​stime]](6)
 +
  
utime_function.txt ยท Last modified: 2006/07/11 04:57 (external edit)