Jump to content

Recommended Posts

Posted

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?

Posted

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...