Update for modern Arduino env. Better handling of day of week and leap year. Integrate daily alarm support from jiki974