Function to commit to RTC. Doesn't have much error checking.

Need to do error checking.