Compare user date to system date?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Im having problems with comparing a user defined date to the system date.
What I am attempting to do is to see if the system date is within 60 days of
the user defined date (CDL_Exp_Date). Any help on this would be greatly
appreciated.

Thanks

c_ascheman
 
What I am attempting to do is to see if the system date is within 60
days of the user defined date (CDL_Exp_Date).

If Abs(DateDiff("d", Date(), CDL_Exp_Date)) > 60 Then
' it's too far away

Else
' it's pretty close

End If


Tim F
 
Back
Top