I'm creating a little calculator in VB.NET. The formula I'm calculating is different when the startdate entered by the user is over 90 days ago, than when it is less than 90 days ago. So, I need a way to determine if the date they entered is more than 90 days ago.
user enters: StartDate.
If Today - StartDate > 90 Then
This happens
Else
This happens
End
Can someone help me with the math that compares the dates?
Thanks
user enters: StartDate.
If Today - StartDate > 90 Then
This happens
Else
This happens
End
Can someone help me with the math that compares the dates?
Thanks