+ 1

Why the Date picked using datepicker is like 15/01/20182018?

I used jQuery 3.2.1 jQuery UI , bootstrap , jQuery magnific popup. but problem date are picked but date displayed on browser page is ddmmyyyy yyyy daymonthyearyear format. ex 15/01/20182018 I removed the above mentioned query bootstrap one by one and tried different combinations but still error

15th Jan 2018, 11:23 AM
vinayagam D
vinayagam D - avatar
2 Answers
+ 3
You've probably used optional format as "dd/mm/yyyy" ? According to the documentation, it seems that you must write "dd/mm/yy" ^^ http://api.jqueryui.com/datepicker/
15th Jan 2018, 11:35 AM
visph
visph - avatar
+ 1
super thanks
15th Jan 2018, 2:30 PM
vinayagam D
vinayagam D - avatar