Name

STRFTIME — Formats the date and time

Synopsis

STRFTIME([epoch][|[timezone][|format]])

Returns the current date/time in a specified format.

STRFTIME passes the epoch and format arguments directly to the underlying strftime(3) C library call, so check out that manpage for more information. The timezone parameter should be the name of a directory/file in /usr/share/zoneinfo (e.g., America/Chicago or America/New_York).

See Also

STRPTIME()