June 2003
Beginner to intermediate
944 pages
43h 1m
English
strftime
strftime([format[,timestamp]])
Format timestamp according to format. Return the formatted string. The timestamp is a time-of-day value in seconds since midnight, January 1, 1970, UTC. The format string is similar to that of sprintf. (See the example for systime.) If timestamp is omitted, it defaults to the current time. If format is omitted, it defaults to a value that produces output similar to that of date.
Read now
Unlock full access