RTC SETTIME year, month, day, hour, minute, second
RTC GETTIME
Note that the year is just the last two digits (ie, 15 for 2015) and hour is in 24 hour format.
For example, the following will set the PCF8563 to 4PM on the 10th November 2014:
RTC SETTIME 14, 11, 10, 16, 0, 0
To get the time you use RTC GETTIME which sets internal time/date.
Leave a Reply