Jace Posted March 10, 2007 Share Posted March 10, 2007 ; 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. Link to comment Share on other sites More sharing options...
_Kurt Posted March 10, 2007 Share Posted March 10, 2007 _NowCalc(....) _DateDiff(....) Those two functions will do it Kurt Awaiting Diablo III.. Link to comment Share on other sites More sharing options...
Jace Posted March 10, 2007 Author Share Posted March 10, 2007 _NowCalc(....)_DateDiff(....)Those two functions will do it Kurt Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now