asctime
语法:
#include <time.h> char *asctime( const struct tm *ptr ); |
功能: 函数将ptr所指向的时间结构转换成下列字符串:
day month date hours:minutes:seconds year/n/0
例如:
Mon Jun 26 12:03:53 2000
语法:
#include <time.h> char *asctime( const struct tm *ptr ); |
功能: 函数将ptr所指向的时间结构转换成下列字符串:
day month date hours:minutes:seconds year/n/0
例如:
Mon Jun 26 12:03:53 2000