ctime си
Primary tabs
Forums:
Synopsis
#include <time.h> char *ctime(const time_t *timer);
Преобразует календарное время ,на значение которого указывает timer в строку , вызов данной функции эквивалентен:
вызову:
asctime(localtime(timer));
Description
The ctime function converts the calendar time pointed to by timer to local time in the
form of a string. It is equivalent to
asctime(localtime(timer))
Returns
3 The ctime function returns the pointer returned by the asctime function with that
broken-down time as argument.
Forward references: the localtime function (7.23.3.4)
- Log in to post comments
- 2159 reads