Keeping time when particle is not connected

How would that be?

Have a read about what it does.
https://docs.particle.io/reference/firmware/photon/#system-thread

And as I said earlier already

Thank you so much! the problem seems to be solved.