Sorry, I am new to this, please dont bite my head off.....
If I have a datetime.now and I want to compare it to another date time (expiry date) and see if the datetime.now + 14 days is > expiry date. How do I compare the two dates, to see which is greater?

AlanRank #669 · 3.6K reputationPosted Oct 17, 2008, 5:22 AM EDT
Something like this should work:
if (DateTime.Now.AddDays(14) > expiryDate)
{
// do something
}
else
{
// do something else
}
paul walker29 reputationPosted Oct 17, 2008, 1:08 PM EDT