摘要:
var date = new Date();var year = date.getFullYear();var month = date.getMonth() + 1;var day = date.getDate();var hour = date.getHours();var minute = date.getMinutes();var second = date.getSeconds();var now = [year, month, day].join('-') + ' ' + [hour, minute, second].join(':' 阅读全文
posted @ 2012-12-27 10:01 人生梦想起飞 阅读(108) 评论(0) 推荐(0) 编辑