visual basic 2008, making a countdown

cursedpsp

New Member
Messages
237
Reaction score
0
Points
0
I want to make a countdown to christmas or a specific date.

Any ideas on actually how i do it? - ive got a sort of idea but its not clear...
Edit:
Well i have sort of an idea now.

I use day of year to get the day of year, then i do some calculations to get the destination day of year. Then i take that date, or add it - depending on the year. And now im stuck.
 
Last edited:

MasterMax1313

New Member
Messages
84
Reaction score
0
Points
0
Quick suggestion here, use a DateTime object store the time you're counting down to (.add methods), then use object - DateTime.Now to get a TimeSpan object of the difference, then pull off the days, hours, minutes, seconds, milliseconds to get the time left.
 
Top