Attempt to set the clock to the specified date and time.
This will return FALSE if the clock is not accessible.
Where RTC is the name you have given to the device in Project Designer.
The year value
The month value in the range 1 to 12.
The day of the month value in the range 1 to 31 - or less - depending on the month.
The hour value in the range 0 to 23.
The minute value in the range 0 to 59.
The second value in the range 0 to 59.
It is up to you to make sure that date is valid. For example: trying to set the date to 31 February will result in an unkown result.