|
EtcPal
0.4.1
ETC Platform Abstraction Layer (EtcPal)
|
View other versions:
|
A set of parameters which represent the current local time with millisecond resolution.
The valid ranges for each member can be validated using etcpal_validate_log_timestamp().
Data Fields | |
| unsigned int | year |
| Absolute year. More... | |
| unsigned int | month |
| Month of the year. More... | |
| unsigned int | day |
| Day of the month. More... | |
| unsigned int | hour |
| Hours since midnight. More... | |
| unsigned int | minute |
| Minutes past the current hour. More... | |
| unsigned int | second |
| Seconds past the current minute. More... | |
| unsigned int | msec |
| Milliseconds past the current second. More... | |
| int | utc_offset |
| The local offset from UTC in minutes. | |
| unsigned int day |
Day of the month.
Valid range 1-31.
| unsigned int hour |
Hours since midnight.
Valid range 0-23.
| unsigned int minute |
Minutes past the current hour.
Valid range 0-59.
| unsigned int month |
Month of the year.
Valid range 1-12 (starting with 1 for January).
| unsigned int msec |
Milliseconds past the current second.
Valid range 0-999.
| unsigned int second |
Seconds past the current minute.
Valid range 0-60 (to handle leap seconds).
| unsigned int year |
Absolute year.
Valid range 0-9999.