摘要:
<script language="javascript">Date.prototype.format = function(format){ var o = { "Y+" : this.getFullYear(), //year "M+" : this.getMonth()+1, //month "d+" : this.getDate(), //day "h+" : this.getHours(), //hour "m+" : this.getMinutes() 阅读全文