Go to the first, previous, next, last section, table of contents.


ctime

Syntax

#include <time.h>

char *ctime(const time_t *cal);

Description

This function returns an ASCII representation of the time in cal. This is equivalent to asctime(localtime(cal)). See section asctime. See section localtime.

Return Value

The ascii representation of the time.

Portability

ANSI, POSIX


Go to the first, previous, next, last section, table of contents.