BAJ's approach is the way I'd do it. If accuracy is wanted, have a look at the DS3231 & variants. --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .