JS获取当前日期时间
摘要:
1.YYYY-MM-DD function formatDate(date, pattern) { if(typeof pattern == 'undefined'){ pattern = 'yyyy-MM-dd';} var str = '';if (date instanceof Date) { 阅读全文
posted @ 2017-07-31 13:29 ranyonsue 阅读(1396) 评论(0) 推荐(0)
浙公网安备 33010602011771号