Click here to Skip to main content
15,893,622 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi..frds

how can i get reminder before due date..after 15 days?
Posted
Comments
OriginalGriff 29-Jul-11 7:17am    
Would you be so terribly kind as to ask your question using a few more words?
By preference, ones which explain what you are trying to do, and what problem you are having doing it.
At the moment, you have called the garage, said "my car stopped" and put the phone down, expecting them to fix it without even knowing who you are, much less what is wrong with it...

C#
DateTime endDate = new DateTime(2011, 10, 15); //Your date
            if ((DateTime.Now - endDate).Days < 15)
                //Do Stuff
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 2-Aug-11 4:43am    
I would say, that's it, my 5.
--SA
DominicZA 2-Aug-11 5:42am    
Thanks :D
 
Share this answer
 
Comments
Espen Harlinn 30-Jul-11 7:24am    
Nice set of links, I'd be very surprised if one of those articles can't be turned into what OP needs - my 5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900