Add RTC write functionality.

Either the time or date or both can be written.
All fields are range checked and validated.  Invalid fields are left undisturbed.