Sign in to follow this  
Followers 0
Phaser

Date question

5 posts in this topic

Hi everyone

I have been testing dates in a script I made, currently I am using this

If @YEAR >= "2009" And @MON >= "11" Then

And changing the @MON >= "11" to "10" gives me the msgbox I expect, I would like to also add @MDAY like this

If @YEAR >= "2009" And @MON >= "11" And @MDAY >= "01" Then

so its more accurate but it doesn't work with @MDAY added to it? what am I missing here?

Share this post


Link to post
Share on other sites



Thanks guys, the help file states @MDAY 01 to 31 so I didn't even bother trying 1 instead of 01, got the point about the strings, thanks

Share this post


Link to post
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
Sign in to follow this  
Followers 0