Problem: when an event occurs, we need to record the current time + 3 hours in a Mysqli database (in what format it is better to do that then not to bother with conversion?).
And next, when entering the page to show the timer with hours, minutes and seconds that remain until the posted time. As PHP is easier to obtain the difference between the current time and time in the future, and then arrange to count it in the format remained much the hours, minutes and seconds.
I.e. conditionally at midnight, an event occurred at three o'clock - the end of the fairy tale of Cinderella. now two hours eight minutes. have been written to the database time (three hours) minus the current output in the format suitable for the timer