Site Tools


stime
no way to compare when less than two revisions

Differences

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


stime [2006/08/29 20:18] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +# $EPIC: stime.txt,v 1.3 2006/08/29 18:22:56 sthalik Exp $
 +======Synopsis:======
 +$__stime__(<integer representing UTC value>)
 +
 +======Technical:======
 +   * If the argument is omitted, this function returns the empty string.
 +   * The function passes the integer value you provide to the __ctime__ C Library Function and returns the result, after chopping off the trailing newline.
 +   * The return value of this function is supposed to be human readable.
 +
 +======Practical:======
 +This function converts the return value of $[[time function|time]]()
 +into something a human being can understand.  It is a simpler version of
 +the $[[strftime]]() function.
 +
 +======Returns:======
 +current date/time string in human-readable form
 +
 +======Examples:======
 +<file>
 +$stime($time())             current time string
 +$stime(0)                   the dawn of time
 +</file>
 +
 +======History:======
 +This function first appeared in ircII.
  
stime.txt · Last modified: 2006/08/29 20:18 by 127.0.0.1