Sign in to follow this  
Followers 0
Jace

Date, Strings and RegExp OH MY!

3 posts in this topic

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

Share this post


Link to post
Share on other sites



_NowCalc(....)

_DateDiff(....)

Those two functions will do it :whistle:

Kurt


Awaiting Diablo III..

Share this post


Link to post
Share on other sites

_NowCalc(....)

_DateDiff(....)

Those two functions will do it :whistle:

Kurt

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