Sahil is correct, and any or all of his suggestions are the best ones, but
you could set a timer in your web application using System.Timers and check
the date on the Elapsed event.
The drawback is that if the web application is not running, the event will
not fire. If your web application is accessed regularly, this might work for
you. If your web application is seldom or intermittently used, you can't be
sure this will happen in a timely fashion.
--
Dale Preston
MCAD C#
MCSE, MCDBA