JavaScript常用技巧之时间操作

1、获取当前时间戳

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

 

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