平常用的基本是这个方法,用Date方法依次将年月日时分秒一个个算出来,然后拼接成需要的时间格式字符串。 function transformTime(timestamp = +new Date ...
確定! 回上一頁