2013年1月31日

JS 时间格式化

摘要: <script type="text/javascript"> //时间格式化 方法 Date.prototype.format = function(format){ var o = { "M+" : this.getMonth()+1, //month "d+" : this.getDate(), //day "h+" : this.getHours(), //hour "m+" : this.getMinutes(), //minute "s+" : thi 阅读全文

posted @ 2013-01-31 14:55 Mo..筱米 阅读(214) 评论(0) 推荐(0)

导航