lnStart = SECONDS() ... lnInterval = SECONDS() - lnStart lnInterval = IIF(lnInterval >=0, lnInterval, lnInterval + 84600)>Sergey, thanks for the pointer. ConvertDateTime.prg in file #9704 did indeed contain the solution to the riddle - a 'dynamic' epoch of 00-01-00 coupled with years that are a nice round 367 days long. A somewhat brutish solution to the problem that years are actually 365.25 days give or take a few jiffies ... Somehow this reminded me of some state or other where the legislators decided that irrational numbers had no place in rational discourse and therefore decreed that the value of pi would henceforth be 3.0. ;-)