hi to all my fellow programmers,

i'm creating now an attendance system. how to create a count down timer that will minus in the system time? it is possible and how? i have a 3 textbox 1 is for the hour, minutes and seconds. and 3 label for the count down,


first to do is type what time will be time out, for example is this

the time is now

11:09:58

all i want is this if the user type 12:00:00 in the time out the count down should began in

00:51:02

until it came up to 00:00:00

how can i do this? please help ASAP. badly needed.

Recommended Answers

All 5 Replies

you need to substract the system time from the user input and do the rest with a timer control.

how?

With the use of the DateDiff function and either the time function or the now function, and you can look these up in vb's help. The timer control is in the toolbox of the standard exe project and placing one on your form, selecting it, and pressing F1 will allow you to read all about it.

Good Luck

i have no MSDN intstall to my computer sir :(

You can find all info on line.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.