Jump to content

Working with Dates Expressions


diegocastelazo

Recommended Posts

Hi, I have the following problem:

I have a variable, and in the expression I have the following:

new Boolean(Date_1.getDate() > = Date_2.getDate()) ? "Yes" : "No"

Date_1 = '6/10/10'

Date_2 = '6/11/10'

So if this is right, the answer to this expression should be "No", since the 6 of October 2010 is not greater or equal to 6 of November 2010, but I get "Yes".

Why is this?

Thanks

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

×
×
  • Create New...