something like this, but you’ll have to code it yourself.
1. Get the end date/time. Get the current time, work out the difference. This is your “time left”
2. Pass “time left” to your view in a div, or whatever you want it displayed in.
* You’ll have to ensure that the start/end date/time you store is set to the correct timezone. What if a “coupon” customer sets it to end at midnight their time (what time zone are they in?). It’s no good if you go and set that time to a different time zone is it, because then your date/time will be incorrect. I’ll let you figure that out.
* In step 1 above, when working out the “time left” you will have to get the “end time” and “end time time zone” AND the current time IN THE SAME TIME ZONE otherwise your “time left” will be incorrect.
* If you don’t get this correct, depending on what country you are in, you may be liable for costs if you get this wrong. For example, if the coupon has already expired but your website says it is still active for another two hours, you MAY be forced to pass the coupon onto your customers with you paying the difference between the coupon price and the full price. I’d research your local laws and/or potentially hire an internet lawyer to write your “terms and conditions” to help mitigate this eventuality.