The ctime function

Name

ctime -- 

Synopsis

#include <time.h>

struct tm *ctime (const time *timer);

Description

The ctime function converts the calendar time pointed to by timer into a broken-down time expressed as local time.

Returns

The ctime function returns the pointer returned by the asctime function with that broken-down time as argument.

See Also

The localtime function