Jump to content
Sign in to follow this  
Guest kvn_viswanath

comparing the dates given in two text boxes

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.

Share this post


Link to post
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 ).

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...