DD_TIME,LP_DD_TIME¶
结构体定义¶
1 2 3 4 5 6 7 8 9 10 11 12 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
功能描述¶
记录时间的结构体
成员说明¶
| 成员 | 类型 | 备注 |
|---|---|---|
| second | unsigned char | Seconds after minute (0–59)。 |
| minute | unsigned char | Minutes after hour (0–59)。 |
| hour | unsigned char | Hours since midnight (0–23)。 |
| wday | unsigned char | Day of week (0–6; Sunday = 0)。 |
| mday | unsigned char | Day of month (1–31)。 |
| month | unsigned char | Month (0–11; January = 0)。 |
| year | unsigned short | Year (current year minus 1900)。 |
| nTotalseconds | int | 总秒数。 |
| nMicrosecond | int | 微秒。 |