| 
    Zephyr Project API
    3.4.0
    
   A Scalable Open Source RTOS 
   | 
 
Structure for storing date and time values with sub-second precision. More...
#include <rtc.h>
Data Fields | |
| int | tm_sec | 
| int | tm_min | 
| int | tm_hour | 
| int | tm_mday | 
| int | tm_mon | 
| int | tm_year | 
| int | tm_wday | 
| int | tm_yday | 
| int | tm_isdst | 
| int | tm_nsec | 
Structure for storing date and time values with sub-second precision.
The structure is 1-1 mapped to the struct tm for the members tm_sec to tm_isdst making it compatible with the standard time library.
| int rtc_time::tm_hour | 
Hours [0, 23]
| int rtc_time::tm_isdst | 
Daylight saving time flag [-1] (Unknown = -1)
| int rtc_time::tm_mday | 
Day of the month [1, 31]
| int rtc_time::tm_min | 
Minutes [0, 59]
| int rtc_time::tm_mon | 
Month [0, 11]
| int rtc_time::tm_nsec | 
Nanoseconds [0, 999999999] (Unknown = 0)
| int rtc_time::tm_sec | 
Seconds [0, 59]
| int rtc_time::tm_wday | 
Day of the week [0, 6] (Sunday = 0) (Unknown = -1)
| int rtc_time::tm_yday | 
Day of the year [0, 365] (Unknown = -1)
| int rtc_time::tm_year | 
Year - 1900