JavaScript常用技巧之时间操作

1、获取当前时间戳

  • +new Date
  • Date.parse(new Date())

 

posted @ 2017-07-01 18:19  yudis  阅读(142)  评论(0)    收藏  举报