Pas de problème.

Can you:
- have an external clock IC,
- save the time on memory,
- put PIC to sleep,
- wake up the PIC every once in a while using a 555 timer,
- check the time elapsed since sleep?

I'm sure there are simpler ways.

Robert