Simple code to read the current Unix time over serial and use it to update the RTC. It is important that the terminal program you use is in line mode (i.e. sends the whole time string in one go rather than one character at a time).
Craig Evans
/
RTC