I take two epoch time values and do some math with them to find if its been four hours since an action happened.
I do this like this:
$new_time = $current_time-$original_login; // Do The Math
Now I have the value as $new_time.
I want to display a static countdown timer on how much time is remaining. I've tried several ways and can't get it working right. Any help? Many Thanks!
My original thinking was just to echo the variable $new_time but just gives me the result of the math... not a human readable format. It will never be over 4 hours if that helps
MANY THANKS in advance!