![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
js
蛋蛋淡淡定
我是工程师这个简介够不够。
展开
-
js时间戳与日期格式互转!!
js时间戳转为日期格式什么是Unix时间戳(Unix timestamp): Unix时间戳(Unix timestamp),或称Unix时间(Unix time)、POSIX时间(POSIX time),是一种时间表示方式,定义为从格林威治时间1970年01月01日00时00分00秒起至现在的总秒数。Unix时间戳不仅被使用在Unix系统、类Unix系统中,也在许多其他操作系统中被广泛采用。...原创 2019-08-08 17:55:39 · 3030 阅读 · 0 评论 -
js获取系统当前时间并格式化
js获取系统当前时间并格式函数:Date.prototype.Format = function (fmt) {var o = {“M+”: this.getMonth() + 1, //月份“d+”: this.getDate(), //日“H+”: this.getHours(), //小时“m+”: this.getMinutes(), //分“s+”: this.getSec...原创 2019-08-09 10:47:16 · 1456 阅读 · 0 评论