码迷,mamicode.com
首页 >  
搜索关键字:localtime    ( 759个结果
MySQL-----常用函数整理
/*日期函数*/ select year(now()); #返回年份 select month(localtime);#返回月份 select sysdate(); #返回当前时间 select(localtime);#返回当前时间,注:now()、localtime()、localtime、sys ...
分类:数据库   时间:2019-01-03 15:01:55    阅读次数:190
以太坊geth主网全节点部署
以太坊geth主网全节点部署 docker方式部署geth节点 ...
分类:其他好文   时间:2019-01-01 00:55:38    阅读次数:796
python 模块
# 1、回顾文件递归遍历. 默写一遍. import os def func(lujing,n): lst=os.listdir(lujing)#打开文件夹,列出所有名字 b c for el in lst: #循环当前文件夹名字 b c path=os.path.join(lujing,el)#拼... ...
分类:编程语言   时间:2018-12-27 03:18:53    阅读次数:173
TIDB 时区支持
时区支持TiDB使用的时区由time_zone全局变量和session变量决定。time_zone的默认值是System,System对应的实际时区在TiDB集群bootstrap初始化时设置。具体逻辑如下:优先使用TZ环境变量如果失败,则从/etc/localtime的实际软链地址提取。如果上面两种都失败则使用UTC作为系统时区。在运行过程中可以修改全局时区:mysql>SETGLOBAL
分类:数据库   时间:2018-12-25 20:05:34    阅读次数:1187
docker时区不对 怎么修改
创建容器的时候设置时区添加-v/etc/localtime:/etc/localtime启动容器dockerrun-d-v/etc/localtime:/etc/localtime-p8888:8080tomcat:latest启动后的容器修改时区dockerexec-it<容器名>/bin/bashln-sf/usr/share/zoneinfo/Asia/Shanghai/etc/
分类:其他好文   时间:2018-12-25 16:55:33    阅读次数:131
自动化工具 Python 调 Jmeter 执行参数化 jmx 脚本
烦透了jmeter输入如下鬼命令: Jmeter -n -t {tmpjmxfile} -l {csvfilename} -e -o {htmlreportpath} 尤其是{htmlreportpath}这个文件夹路径,没有这个文件夹又不会自动创建,有的话又必须为空。经常要给文件夹、文件命名,而且 ...
分类:编程语言   时间:2018-12-20 16:58:02    阅读次数:217
postgresql+java数据类型对照
网上搜了很多都不理想,这里总结的一部分是官网的文档,一部分是网上的,大体没问题 PostgreSQL? Java SE 8 date LocalDate time LocalTime timestamp without timezone LocalDateTime timestamp with ti ...
分类:数据库   时间:2018-12-19 19:33:35    阅读次数:223
python time模块
time模块 time模块,常用方法:time()localtime()asctime()strftime()strptime()mktime()clock() time()方法,获取当前时间的时间戳print time.time()运行结果:1545005056.78[Finished in 0. ...
分类:编程语言   时间:2018-12-17 21:11:38    阅读次数:231
自备LocalDateTime工具类
package cn.zytao.taosir.common.utils; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.LocalTime; import java.time.format.... ...
分类:其他好文   时间:2018-12-17 14:30:02    阅读次数:207
python3基础14(有关日期的使用2)
#!/usr/bin/env python# -*- coding:utf-8 -*-import timeimport datetime,shutil,osimport calendarprint(time.time())print(time.localtime(time.time()))prin ...
分类:编程语言   时间:2018-12-15 23:57:28    阅读次数:245
759条   上一页 1 ... 21 22 23 24 25 ... 76 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!