博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
struct tm的定义
阅读量:6246 次
发布时间:2019-06-22

本文共 1625 字,大约阅读时间需要 5 分钟。

1 struct tm {
2 int tm_sec; /* seconds */ 3 int tm_min; /* minutes */ 4 int tm_hour; /* hours */ 5 int tm_mday; /* day of the month */ 6 int tm_mon; /* month */ 7 int tm_year; /* year */ 8 int tm_wday; /* day of the week */ 9 int tm_yday; /* day in the year */ 10 int tm_isdst; /* daylight saving time */ 11 12 }; 13 14 tm_sec The number of seconds after the minute, normally in the range 0 to 59, but can be up to 60 to allow for leap seconds. 15 16 tm_min The number of minutes after the hour, in the range 0 to 59. 17 18 tm_hour 19 The number of hours past midnight, in the range 0 to 23. 20 21 tm_mday 22 The day of the month, in the range 1 to 31. 23 24 tm_mon The number of months since January, in the range 0 to 11. 25 26 tm_year 27 The number of years since 1900. 28 29 tm_wday 30 The number of days since Sunday, in the range 0 to 6. 31 32 tm_yday 33 The number of days since January 1, in the range 0 to 365. 34 35 tm_isdst 36 A flag that indicates whether daylight saving time is in effect at the time described. The value is positive if daylight saving time is in effect, zero if it is not, and negative if the information is not available.

转载于:https://www.cnblogs.com/woainilsr/archive/2012/02/25/2368020.html

你可能感兴趣的文章
[译]Kinect for Windows SDK开发入门(六):骨骼追踪基础 上
查看>>
[译]Kinect for Windows SDK开发入门(八):骨骼追踪进阶 上
查看>>
关于数据库设计--博客系统2
查看>>
AWS 认证攻略(SA)
查看>>
iOS完整学习路线图
查看>>
JAVA_Thread_生产消费模式
查看>>
IceCTF-Matrix
查看>>
java.util.HashSet源码分析
查看>>
yield与yield from
查看>>
两数相加LeetCode
查看>>
c/c++ 获取文件夹或目录下的文件
查看>>
bzoj3316: JC loves Mkk(单调队列+分数规划)
查看>>
P4046 [JSOI2010]快递服务
查看>>
8分钟学会使用AutoMapper
查看>>
使用weka训练一个分类器
查看>>
C#根据WSDL文件生成WebService服务端代码
查看>>
[FJOI2018]领导集团问题
查看>>
thinkphp用ajax遇到的坑——ajax请求没有反应
查看>>
Microsoft Visual Studio 中出现 Windows has triggered a breakpoint in xxx.exe的一个解决方案
查看>>
非常直白的 js 闭包概念.<转载>
查看>>