struct time定义
2015-06-01 22:14
176 查看
struct tm {
int tm_sec; /* 秒–取值区间为[0,59] */
int tm_min; /* 分 - 取值区间为[0,59] */
int tm_hour; /* 时 - 取值区间为[0,23] */
int tm_mday; /* 一个月中的日期 - 取值区间为[1,31] */
int tm_mon; /* 月份(从一月开始,0代表一月) - 取值区间为[0,11] */
int tm_year; /* 年份,其值从1900开始 */
int tm_wday; /* 星期–取值区间为[0,6],其中0代表星期天,1代表星期一,以此类推 */
}
int tm_sec; /* 秒–取值区间为[0,59] */
int tm_min; /* 分 - 取值区间为[0,59] */
int tm_hour; /* 时 - 取值区间为[0,23] */
int tm_mday; /* 一个月中的日期 - 取值区间为[1,31] */
int tm_mon; /* 月份(从一月开始,0代表一月) - 取值区间为[0,11] */
int tm_year; /* 年份,其值从1900开始 */
int tm_wday; /* 星期–取值区间为[0,6],其中0代表星期天,1代表星期一,以此类推 */
}
相关文章推荐
- Project Euler:Problem 24 Lexicographic permutations
- poj3660 Cow Contest(Floyd-Warshall方法求有向图的传递闭包)
- 第五章t2
- 进程、线程小结(2)
- php扩展开发笔记(1)创建类的数组属性
- JSP内置对象
- Linux文件系统管理
- 手动给帮助类打 jar包 和 给Web项目打 war包
- apache 无法访问根目录下的子目录——(笔记)
- 阻止OSX休眠
- 长沙甲壳虫教育 留学
- Project Euler:Problem 23 Non-abundant sums
- 给定一个正整数数组,找所有元素组合起来最大的值(答案)
- 如何对IP地址进行排序?
- HDU 1004 Let the Balloon Rise (map使用)
- ViewConfiguration.getScaledTouchSlop () 用法
- C5.0算法学习
- Oracle之内存结构(SGA、PGA)
- 自己动手 CentOS-6.5 安装Oracle11g R2
- 堆排序