Help me to program countdown...

(deleted)

Countdown = (time of alarm) - (time now).

13:00 - 10:45 = 2:15
13:00 - 10:46 = 2:14
:
:
13:00 - 12:56 = 0:04
13:00 - 12:57 = 0:03
13:00 - 12:58 = 0:02
13:00 - 12:59 = 0:01
13:00 - 13:00 = 0:00

(deleted)

Are you asking for code to make an alarm go off at a particular time then stay on for a set time then turn off?

Weedpharma

(deleted)

What hardware are you using? Board? Display? Input?

Give us some code (in a code box) that you have and what the problem is with it.

How long do you want the countdown?

What is the urgency?

Weedpharma

Hi,

What if the Timer should be set for period of 5-20 days? How it will not mess with change of the date or month? Thanks for this post.

Please do not abandon a thread and start another on virtually the same subject.

It pisses people off!!

Weedpharma