Time stamp keeps changing time

This is because you are loading timestamp from a procedure which returns current timestamp.
Store it on database and then add it from got value.
I suggest you to read guide given below.