C语言标准时间与日期函数
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 2000clock语法:#include <time.h>clock_t clock( void );功能:函数返回自程序开始运行的处理器时间,
复制链接