oopic programmable clock

Hi All,
I ordered my first oopic and I wonder if I can do the following.
I want to a device that must have a real time clock to trigger an
alarm signal during five weekdays at 03:00 am and the weekend days (Friday and Saturday) at 04:00 am.
This is the basic task.
The other issue is that if I have a holyday during in any of the weekdays I need to have the alarm, on the previous day at 04:00 am instead of the normal 03:00 am.
It seams to me that the best way to do this is to have a year calendar table and point to every single day which time the alarm should trigger, example:                  Day            Alarm        Holyday         01/01/2004        03:00        No         02/01/2004        03:00        No         ..                     14/01/2004        04:00        No 15/01/2004        03:00        Yes
and so on until the end of the year.
I wonder if I can accomplish this with the oopic.
Another issue is to know if I can have more than one yer calendar.
Does the oopic have a accurate RTC?
I ask this because if I could do this with the oopic or any other device I will need 1000 devices that must run independently but I will need that all of them must have the same date and time to avoid to many time differences among them.
Can anyone give me hand on this?
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file

Polytechforum.com is a website by engineers for engineers. It is not affiliated with any of manufacturers or vendors discussed here. All logos and trade names are the property of their respective owners.