标签: jquery
我在变量中有值,现在我必须更改日期格式。
原始格式是2015年5月14日
#txtEventDate值包含14/05/2015
var dateTime = $('#txtEventDate').val()
现在我希望输出为dateformat,如2015年5月14日