I understand that you would like to set the date and time based on the input from a console (UART) . As you said, for that we can use RTC_SetDateAndTime function. Can you please attach your project?
BMAH: I'll send the project to you but my question is what is the character format do you write to the RTC component is it BCD? Line 248 is the place I am trying to write to the RTC component it works but writes are incorrect data is uint32 format. Program has a lot of coded that is not yet finished but I need to figure out this issue first before I can complete the project.