tdiff2
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | tdiff2 [2007/03/01 03:26] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # $EPIC: tdiff2.txt, | ||
+ | ======Synopsis: | ||
+ | $__tdiff2__(< | ||
+ | |||
+ | ======Technical: | ||
+ | * If the < | ||
+ | * The argument is taken to be the number of seconds (floating point is permitted) between two timed events. | ||
+ | * $tdiff2() returns the number of elapsed seconds in the following format: \\ < | ||
+ | |||
+ | If < | ||
+ | Otherwise, then "< | ||
+ | plus | ||
+ | If < | ||
+ | Otherwise, then "< | ||
+ | plus | ||
+ | If < | ||
+ | Otherwise, then "< | ||
+ | plus | ||
+ | If < | ||
+ | or < | ||
+ | If < | ||
+ | then "< | ||
+ | If < | ||
+ | Otherwise, then "< | ||
+ | |||
+ | ======Practical: | ||
+ | These functions are useful for showing how much time has elapsed | ||
+ | since a particular event. For instance, they can convert your idle | ||
+ | time from the number of seconds to a more readable form. | ||
+ | |||
+ | ======Returns: | ||
+ | A human readable string representing some elapsed time. | ||
+ | |||
+ | ======Examples: | ||
+ | < | ||
+ | $tdiff(248576) | ||
+ | $tdiff(-248576) | ||
+ | $tdiff2(248576) | ||
+ | $tdiff2(-248576) | ||
+ | $tdiff2(3602) | ||
+ | </ | ||
+ | |||
+ | ======History: | ||
+ | This function first appeared in ircII+CS | ||
+ | |||
tdiff2.txt · Last modified: 2007/03/01 03:26 by 127.0.0.1