I know this is probably a pretty simple question, but i am trying to write a function that returns a bool value of "true" if a date passed is in the future, like this:
bool IsFutureDate(System.DateTime refDate)
{
if (refDate > DateTime.Now) // This doesn't seem to work
return true;
return false;
}
Anyone tell me who to write a function like this that actually works?
Thanks