Sign in to follow this  
Followers 0
Negat1ve

_NowDate() bug ?

2 posts in this topic

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

Share this post


Link to post
Share on other sites



Not a bug, that's how string comparison works. To compare dates use something like _DateDiff.

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