Jump to content

Recommended Posts

Posted

$DATE = "22/3/2006"

$NOWDATE = _NowDate()

IF $DATE <= $NOWDATE Then

MsgBox(0, "", "EXPIRED")

Else

MsgBox(0, "", "NOT EXPIRED")

EndIf

Would this work 100% correctly ? :)

There is a hex ( 31303030303030 ) reasons i love AutoIt !

  • Moderators
Posted

Would this work 100% correctly ? :)

well my date comes out 3/21/06 for _NowDate()... So 100%... No.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

well my date comes out 3/21/06 for _NowDate()... So 100%... No.

:)

Any idea how to compare date easily ?

There is a hex ( 31303030303030 ) reasons i love AutoIt !

Posted

you need to work with a YYYY/MM/DD format like _NowCalcDate().

:)

Yeah this look better but really can i directly compare the date this way ?

There is a hex ( 31303030303030 ) reasons i love AutoIt !

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...