Negat1ve Posted October 6, 2010 Share Posted October 6, 2010 well lets say today date is 6.10.2010 and set some variable to 9.10.2010 now if we compare today date with variable date .. all is ok If _NowDate() > date_variable all is ok .. result will be that _NowDate is not higher than date variable but if we set that variable to 10.10.2010 or higher .. then this compare will be bugged and result will be that _NowDate is higher than date variable Link to comment Share on other sites More sharing options...
Tvern Posted October 6, 2010 Share Posted October 6, 2010 Not a bug, that's how string comparison works. To compare dates use something like _DateDiff. 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