How to make countdown timer with mysql & php?

How to make countdown timer with mysql & php?

Example,
When Button1 Click Then Count Down Timer Start for 1 or 2 Hours And Timer Data store in mysql database so that countdown timer can’t hack.
Is it possible to make ?
Please Any Body Help.
Thanks in Advance :smiling_face_with_three_hearts:

Are you expecting your app to run in the background while the countdown runs?

If so..

also asked on Niotron community