Link to home
Start Free TrialLog in
Avatar of ksd123
ksd123

asked on

Date formating issue with internet explorer

Hi Experts,

We are using moment.js for parsing/formatting date in our application , my requirement is the user should not enter date greater than current month  + 6 months.I have working code  in fiddler Date fomat for chrome browser but  the same code is not working for  internet explorer 11 and firefox browsers.The date format we  are using is MM/DD/YYYY. If we run the fiddler in chrome you get message "The date cannot be greater than 08/01/2016" so I want same output in internet explorer and firefox browser's .Try to run fiddler in these browsers you  get meessage "The date cannot be greater than Invalid Date" (instead of actual date ie.08/01/2016).


Thanks in Advance
ASKER CERTIFIED SOLUTION
Avatar of Alexandre Simões
Alexandre Simões
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ksd123
ksd123

ASKER

Thank you.