Enable the backup domain access (see description in the section above) Configure the RTC Prescaler (Asynchronous and Synchronous) and RTC hour formatusing the RTC_Init() function.Time and Date configuration To configure the RTC Calendar (Time and Date) use the RTC_SetTime() andRTC_SetDate() functions. To read the RTC Calendar, use the RTC_GetTime() and RTC_GetDate() functions. To read the RTC subsecond, use the RTC_GetSubSecond() function. Use the RTC_DayLightSavingConfig() function to add or sub one hour to the RTCCalendar.