Function (Path Standard C Header / time.h)

asctime

char* asctime(struct tm *timeptr);

Returns a pointer to a string representing the date and time of the structure struct timeptr


Parameters

  struct tm *timeptr

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

asctime

char* asctime(struct tm *timeptr);

返回一个指向字符串的指针,它代表了结构 struct timeptr 的日期和时间


参数

  struct tm *timeptr