Hi. I want touse Access VBA code to check if today is past a certain date that I have specified
Will the following work?
Dim oDate as date
oDate = "31 Dec 2019"
If DateDiff("d", oDate, Now()) >= 0 Then
MsgBox "Your 30-day trial period has expired.