A client wants to have a countdown for his monthly sale, starting on the first of each month (server time = local time = time that should be used), and have it countdown till the end of the month (28 days 7 hours 6 minutes remaining). How would the logic behind this look like? Is there a library/plugin that does this by default?
Any pointers in the right direction would be amazing.
You must check this, I think it's what you need:
http://keith-wood.name/countdown.html
UPDATE
This is the code you need: