On Fri, 11 Apr 2003 09:27:13 -0400, Jason Harper wrote: I have no idea what the Bv variable is supposed to be - it's not set anywhere in the code you posted. Ah thanks for that Jason. The Bv is the leap year indicator, that is takes the value 1 or 0 . I must have missed out one set of parentheses when I rewrote it for my code testing, as the seconds to time conversion failed at the hours conversion, returning zero all the time, until I altered it to the algorithm I used. As I'm using 2000 as the base year, I should be OK . Thanks Colin -- cdb, bodgy1@optusnet.com.au on 12.04.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: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu