Function (Path Standard C Header / time.h)

ctime

char* ctime(time_t *timer);

Returns a string representing the local time based on the parameter timer


Parameters

  time_t *timer

函数 (属于 标准C头文件 / time.h)

ctime

char* ctime(time_t *timer);

返回一个表示当地时间的字符串,当地时间是基于参数 timer


参数

  time_t *timer