Jump to content

comparing the dates given in two text boxes


Guest kvn_viswanath
 Share

Recommended Posts

Guest kvn_viswanath

hi friends, i created a dynamic calendar and displaying it in a text box, now i took another text box where i am calling the same calendar code. i am now able to display the calendar in both the text boxes. But now i want to enter larger date in text box1 than text box2.Send the validations or code to read the date given in a text box and then compare it with date in another text box.

Link to comment
Share on other sites

dear viswanathWhat do you mean by displaying a calendar in a textbox? Do you mean a date string in a textbox? Do you want to enter date ( dd/mm/yyyy format ) in both the textbox's and then check which one is greater? If thats the problem, then i guess you will have to do some string manipulations. I had a similar problem earlier and i found that javascript does not have any special date manipulation functions ( i guess ).

Link to comment
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
 Share

×
×
  • Create New...