JavaScript. 日期格式化. //author: meizz //日期格式化 Date.prototype.format = function(format){ var o = { "M+" : this.getMonth()+1, //month "d+" : this.
確定! 回上一頁