Jump to content

comparing dates in autoit


Recommended Posts

hi 

I'm trying to make a script that runs different functions depending on the local time of the computer

I tried to do

if _NowCalcDate < 2016/04/12 Then

 functionA()

Else

 functionB()

Endif

 

and that doesn't seem to work.

I am assuming that value returned from _NowCalcDate doesn't match with the date type I wrote

 

What should I do? I'd appreciate for any help that's given.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...