User Tools

Site Tools



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

Link to this comparison view

stime [2006/08/29 20:18]
stime [2006/08/29 20:18] (current)
Line 1: Line 1:
 +# $EPIC: stime.txt,v 1.3 2006/08/29 18:22:56 sthalik Exp $
 +$__stime__(<​integer representing UTC value>)
 +   * 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.
 +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.
 +current date/time string in human-readable form
 +$stime($time()) ​            ​current time string
 +$stime(0) ​                  the dawn of time
 +This function first appeared in ircII.
stime.txt ยท Last modified: 2006/08/29 20:18 (external edit)