I can send you some code, which is for a 1904 iButton, this works= out days, months and year as well as time. You may also want to download the Maestro program plus modules= from Microchip. The Maestro utility can produce an RTC with leap ears= and things. Daylight Saving of course you will need to hard code or= move to Queensland and you won't need it - due to curtain fading and= cows not knowing when to be milked :) Colin -- cdb, bodgy1@optusnet.com.au on 10/12/2003 I have always been a few Dendrites short of an Axon and believe= me it shows. Light travels faster than sound. That's why some people appear= bright until they speak! -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.