2008年2月29日

JS格式化日期字符串

摘要: 1//格式化日期2Date.prototype.format=function(format)3{4varo=5{6"M+":this.getMonth()+1,//month7"d+":this.getDate(),//day8"h+":this.getHours(),//hour9"m+":this.getMinutes(),//minute10"s+":this.getSeconds(),/... 阅读全文

posted @ 2008-02-29 09:51 Daniel Pang 阅读(3472) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

点击右上角即可分享
微信分享提示