$('#brandTimeStamp').datetimepicker({
dateFormat: 'mm/dd/yyyy hh:mm:ss'
});
datetimepicker()
jQuery is not working properly in Firefox.
Whenever I try to change the value of date then it adds 100 years to date.
This code is working fine in IE开发者_JS百科.
Please suggest solution to this problem.
As I believe it, the date format in javascript doesn't require yyyy
for the year. To get a date as 11/07/2011
your date format will need to be dd/mm/yy
精彩评论