Cold Help System: Programming: ColdC Reference Manual: Functions: Misc: ctime()


STRING ctime([INTEGER time])

This function converts the integer time into a string format, using the operating system's ctime library call. This call may handle any time conversions automatically (such as Daylight Savings and Leap Years). If time is not specified, then ctime() uses the current time. Example:

ctime(739180536)
=> "Fri Jun 4 03:55:36 1993"


bind_function() | ctime() | localtime() | mtime() | time() | unbind_function()


the Cold Dark