Jump to content

Recommended Posts

Posted

; Check expired date
    $date = _NowDate()
    $date = StringRegExpReplace($date, "/", "")
    $edate = "3152007"
    If $date >= $edate Then
        MsgBox(64, "Expired", "Program is a bit out of date maybe you should update! " & $edate & " cdate: " & $date)
        Else
    DoSetup()
EndIf

Just trying to set an expired date and compare it to the current date and if the current date is equal to or less than the edate then continue on Else update.

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