Hi Jinx: Have just installed the code from TB028 for Day of Week and now need what should be a simple way to get from day or month number to 3 ASCII characters. I also found an old Y2K web page with the leap year alogrithim and some test dates. Hi Colin: For me assembly language is much easier than C. Hi William: Just the simple day number to 3 character ASCII string table. I'm doing the math eleswhere. I can do it now but in a way that seems like a kludge (i.e. using seperate subroutines for each string). There should be a simple way to get the day and month ASCII strings to the LCD given the day and month numbers. Like call PutDay with W as the Day Of Week, or call PutMonth with W as Month Of Year. Hi again Jinx: In LCD App Note 587 there are errors both in the LCD initialization and in reading data from the LCD. These same errors also show up in the Clock App Note 582. My code is riddled with delays and it's not clear which ones need to be there and which are extra. It would be nice to have clean code where only the delays that are needed are there and to minimize the time spent in delays to speed things up. Some of the errors are not delay related but are logic errors. The LCD clock app note 582 was written by someone who was thinking LED clock. So there are blinking routines in the time set part of the code, but LCDs have a hardware blink capability which is a much cleaner way to blink a digit. Also since you can read back whatever is being displayed on the LCD navigation is just a matter of reading back the current cursor position and then reading back the current data and taking approiate action. (Hence my earlier question about navigation switches. It looks like 3 to 5 tactile buttons will be the low cost answer.) Most of the code on the PIC list LCD page works in the listen only mode, but Pemberton's code looks like it does have the ability to read back data in the 4 and 8 bit modes. I'll look into this. Hi Bob: Instead of using Andy's 99 year algorithim I'm using TB028. Have Fun, Brooke Clarke -- w/Java http://www.PRC68.com w/o Java http://www.pacificsites.com/~brooke/PRC68COM.shtml http://www.precisionclock.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist