Link to home
Start Free TrialLog in
Avatar of vip110598
vip110598

asked on

if date > date then

I wish to halt / stop my program from running on or
after August 1st, 1999.

How would I write this?
ASKER CERTIFIED SOLUTION
Avatar of Kurvy
Kurvy

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of caraf_g
caraf_g

Make that datediff ("d", Now, "1999/08/01") to make it work in all locales.
Or this perhaps?

  If Now > #8/1/1999# Then
    'End program
  Else
    'Keep running
  End If

Ture Magnusson
Karlstad, Sweden