> time('23:00').addHours(4)==time('03:00') > > What's wrong with that? So it's fine for you that these are equivalent? time('23:00').addHours(4)==time('03:00') time('23:00').deductHours(20)==time('03:00') If I have time('03:00'), how do I decide whether it's past or future? -- Jean Jordaan http://www.upfrontsystems.co.za