struct tm
struct tm
创建同名条目
条目
编辑
在标准C/
C++
中,我们可通过tm结构来获得日期和时间,tm结构在
time.
h中的定义如下:
#ifndef _TM_DEFINED
struct tm
int tm_sec; /* 秒 – 取值区间为;
#define _TM_DEFINED