Hi friends,

After the changes suggested by Darrel, the RTC is working fine.
It´s strange the fact of the RTC start working in 12 hour mode.

I have already used this RTC before and I had never had problem before.
But now it´s fixed !

Thanks Darrel e Gzorzi for your answers !

regards

Sérgio Pinheiro