Round up timer digit?
-
Hi Nabil,
I hope you are well! I am using your timer inline with some text to display how many days someone has left before time runs out.
My message is “You have x hour(s) to access this page.”
I’m wondering how to round up the digits if there are any minutes and seconds left.
In other words, if I set it to 72 hours, it will immediately display as 71 hours instead of 72.
If you have a solution for this, I would love to know what it is. Thank you so much for all you do.
I hope you have a great day!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.