JS取date的前一天时间

在javascript中取date的前一天时间:

new Date(new Date()-24*60*60*1000),//取前一天的时间

posted @ 2016-07-05 15:00  华行天下  阅读(20338)  评论(0编辑  收藏  举报