Countdown to a Certain Day


Use os.time with the date dictionary argument to get the number of seconds against a specific date, then use os.time without it to get the current number of seconds. Subtract the latter from the former and then format it into a timestamp as needed.

2 Likes