
bian
留。
这个作者很懒,什么都没留下…
展开
-
mysql 修改时区
方法一:通过mysql命令行模式下动态修改 1.1 查看mysql当前时间,当前时区 select curtime(); #或select now()也可以 ±----------+ | curtime() | ±----------+ | 15:18:10 | ±----------+ show variables like “%time_zone%”; ±-----------------±-------+ | Variable_name | Value | ±-----------原创 2020-10-20 12:39:33 · 908 阅读 · 0 评论 -
js内进行日期格式化
js内进行日期格式化 Date.prototype.format = function(fmt) { var o = { "M+" : this.getMonth()+1, //月份 "d+" : this.getDate(), //日 &quo原创 2018-09-28 17:09:00 · 207 阅读 · 0 评论