CTIME - convert time into a string.

(ANSI Standard)

Usage:

#include <time.h>
s = ctime(clock);

Where:

const time_t *clock;
points to a time number as returned by the "time" function.
char *s;
will point towards a location in memory containing the time string. The string will be 26 characters long.

Description:

"ctime" converts a time number into a string giving the corresponding date and time. The string has the format

Wed Apr 20 15:32:40 1983\n\0

See Also:

expl c lib time

expl c lib localtime

Copyright © 1996, Thinkage Ltd.