Name
timestring — Returns time string
Synopsis
string
timestring
( |
string
FORMAT
, |
|
integer
TIME
, |
|
boolean
UTC
) ; |
Parameters
-
string
FORMAT
-
integer
TIME
-
boolean
UTC
Description
Combination of standard libc functions gmtime or localtime and strftime.
Usage
timestring ("%F %T %Z", time (), false) -> "2004-08-24 14:55:05 CEST"