There was a thread which adquately handles all this for you. Do a search on the word 'Julian' to find it. This was a significant Thread which is useful in so many circumstances which everyone has missed.
Convert Day, Month and Year to Linear Days. Add one if required, and convert back. Update your RTC with the resultant Day, Month and Year.
Bookmarks