📄 timefcns.h
字号:
#ifndef _TIMEFCNS_H_#define _TIMEFCNS_H_#define _DAY_SEC (24L * 60L * 60L) /* secs in a day */#define _YEAR_SEC (365L * _DAY_SEC) /* secs in a year */#define _FOUR_YEAR_SEC (1461L * _DAY_SEC) /* secs in a 4 year interval */#define _DEC_SEC 315532800L /* secs in 1970-1979 */#define _BASE_YEAR 70L /* 1970 is the base year */#define _BASE_DOW 4 /* 01-01-70 was a Thursday */#define _LEAP_YEAR_ADJUST 17L /* Leap years 1900 - 1970 */#define _MAX_YEAR 138L /* 2038 is the max year */time_t_systotime_t(int yr, int mo, int dy, int hr, int mn, int sc, int dstflag);#endif /* _TIMEFCNS_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -