Skip to main content

ctime

Discworld driver help

ctime

Name

ctime() - return a time string

Synopsis

varargs string ctime( int clock );

Description

Gives a nice string with current date and time, with the argument `clock' that is the number of seconds since 1970. If `clock' is not specified, time() is used.

See also

time(), time_expression(), localtime(), uptime()