Download Example Here:
Recently at work, I did some work on our website that would alert our users that the website would be going down soon. The customer wanted "count down" functionality that would give users an idea of how long they have until the site goes down as the time to take the website down approaches.
Anyway, after some work, all I had to do was put the user control tag in my page and set the time in the code behind like so:
this.countDown1.TimeToEnd = DateTime.Now.AddHours(1.02);
this.countDown2.TimeToEnd = new DateTime(2050, 1, 1);
I've created a sample web app that uses this control shown in the examples above.