2013年6月21日

JAVA日期JSON格式转换

摘要: Date.prototype.format = function(format) { /* * format="yyyy-MM-dd hh:mm:ss"; */ var o = { "M+" : this.getMonth() + 1, "d+" : this.getDate(), "h+" : this.getHours(), "m+" : this.getMinutes(), "s+" : this.getSeconds(), "q+" : Math. 阅读全文

posted @ 2013-06-21 01:34 青春丶冭柔情 阅读(306) 评论(0) 推荐(0) 编辑

导航