//1、15天的时间戳
15* 24 * 60 * 60* 1000
// 2、当前时间+15天的时间戳
+new Date() + 15* 24 * 60 * 60* 1000
3、当前时间+15天的时间戳转换未newDate()
// new Date(+new Date() + 15* 24 * 60 * 60* 1000) 15天
//1、15天的时间戳
15* 24 * 60 * 60* 1000
// 2、当前时间+15天的时间戳
+new Date() + 15* 24 * 60 * 60* 1000
3、当前时间+15天的时间戳转换未newDate()
// new Date(+new Date() + 15* 24 * 60 * 60* 1000) 15天
本文标题:时间戳和newDate()相互转换
本文链接:https://www.haomeiwen.com/subject/nhrzmhtx.html
网友评论