Avatar of 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

Avatar of undefined
Last Comment

8/22/2022 - Mon