1, time_t 转 struct tm
struct tm *localtime( const time_t *timer );
2,struct tm 转 time_t
time_t mktime( struct tm *timeptr );
3,CTime 转 time_t
用CTime类中的GetTime成员函数即可
1, time_t 转 struct tm
struct tm *localtime( const time_t *timer );
2,struct tm 转 time_t
time_t mktime( struct tm *timeptr );
3,CTime 转 time_t
用CTime类中的GetTime成员函数即可