Quote Originally Posted by ErnieM
When you get back to the step, post the exact expression you are concerned with so we can play.
Hi Ernie,

It doesnt matter now. I thought there was a problem with a calculation that Melanie put in her RTC code but it turns out that I broke it

I had "modified" some code prior to the calculation that I thought was giving an error but it was a case of "Garbage In, Garbage Out".

The changes I had made to the code resulted in it being given BCD values rather than Decimal ones which it why it was OK on early days in the month and for the first part of a year but was giving problems with numbers higher than 9.

Thanks