std::tm
来自cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
结构分解成其组成部分的日历日期和时间.
Original:
Structure holding a calendar date and time broken down into its components.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[编辑] 会员对象
| int tm_sec |
seconds after the minute – [0, 60][note 1] (公共成员对象) |
| int tm_min |
分钟后,1小时 - [0,59] Original: minutes after the hour – [0, 59] The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (公共成员对象) |
| int tm_hour |
小时,自午夜开始 - [0,23] Original: hours since midnight – [0, 23] The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (公共成员对象) |
| int tm_mday |
月的一天 - [1,31] Original: day of the month – [1, 31] The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (公共成员对象) |
| int tm_mon |
1月个月以来 - [0,11] Original: months since January – [0, 11] The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (公共成员对象) |
| int tm_year |
年自1900年以来 Original: years since 1900 The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (公共成员对象) |
| int tm_wday |
自上周日以来,天 - [0,6] Original: days since Sunday – [0, 6] The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (公共成员对象) |
| int tm_yday |
天自1月1日 - [0,365] Original: days since January 1 – [0, 365] The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (公共成员对象) |
| int tm_isdst |
夏令时间标志。的价值是积极的,如果DST是有效的,如果不是零和负的,如果没有可用的信息 Original: Daylight Saving Time flag. The value is positive if DST is in effect, zero if not and negative if no information is available The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (公共成员对象) |
{{{1}}}
Original:
{{{2}}}
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
- ↑ Range allows for a positive leap second.
Original:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[编辑] 另请参阅
| 因为时代的日历时间转换时间为本地时间表示 Original: converts time since epoch to calendar time expressed as local time The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) | |
| 转换的时间,因为时代的日历时间为协调世界时表示 Original: converts time since epoch to calendar time expressed as Universal Coordinated Time The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) | |
| C documentation for tm
| |