年月日時分秒的時間格式化

時間格式化 時間格式 yyyy-MM-dd HH-mm-ss transfromTime(time) { if (time) { var now = new Date(time), y = now.getFullYear(), m = now.getMonth() + 1, d = now.getDate();
相關文章
相關標籤/搜索