字符串转日期: long ltime = Convert.ToInt64("1481097219000"); System.DateTime startTime = TimeZone.CurrentTimeZone.ToLocalTime(new System.DateTime(1970, 1, 1 ...
分类:
其他好文 时间:
2016-12-07 22:46:07
阅读次数:
158
如何使用Powershell 对office365的邮件进行查询追踪 1. 首先链接到Exchange Online 管理上面 2. 查询邮件追踪,导出UTF-8到csv文件中 ...
分类:
系统相关 时间:
2016-12-06 18:25:03
阅读次数:
424
Linux时间时区同步
卸载ntp服务
pi@raspberrypi:~$sudoapt-getremoventp
安装ntpdate客户端
pi@raspberrypi:~$sudoapt-getntpdate
切换时区
pi@raspberrypi:~$sudo-s
root@raspberrypi:/home/pi#echo"y"|cp/usr/share/zoneinfo/Asia/Shanghai/etc/localtime
root@raspberryp..
分类:
系统相关 时间:
2016-12-05 14:59:45
阅读次数:
217
编译安装的gitlab 8.x版本默认的时区是UTC,在页面上显示的时间默认是零时区的区时,安装完成之后,如果页面上显示的时间比北京时间少了8个小时,则需要修改一下时区 把gitlab.yml文件中的 #time_zone: 'UTC' 改为 time_zone: 'Beijing' 然后重启即可 ...
分类:
其他好文 时间:
2016-12-05 14:09:07
阅读次数:
346
修改yum 源yum updateyum upgrade增加用户echo 'woshishui'|passwd --stdin howhy && history -cvisudo修改sshd_configlsof -i tcp:932修改/etc/security/limits.conf * - n ...
分类:
系统相关 时间:
2016-12-03 23:55:24
阅读次数:
376
wiki利用JMX做存活监控cat/opt/wiki/work/bin/setenv.sh|grepjmxremoteCATALINA_OPTS="-Dcom.sun.management.jmxremote-Dcom.sun.management.jmxremote.port=8410-Dcom.sun.management.jmxremote.ssl=false-Dcom.sun.management.jmxremote.authenticate=false-Duser.timezone=A..
分类:
其他好文 时间:
2016-12-02 16:37:40
阅读次数:
198
修改linux系统时区 1) 可修改/etc/sysconfig/cloc 2) rm /etc/localtime 3) ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime ...
分类:
系统相关 时间:
2016-12-01 14:36:52
阅读次数:
346
配置开发者信息<developers> <developer> <id>eric</id> <name>Eric</name> <email>eredmond@codehaus.org</email> <url>http://eric.propellors.net</url> <organizati ...
分类:
其他好文 时间:
2016-12-01 02:05:08
阅读次数:
223
查看时区
tzselect
设置时区
[root@db-server~]#date-RSun,11Jan201518:42:49-0800[root@db-server~]#cd~
[root@db-server~]#vi.bash_profilePATH=$PATH:$HOME/binTZ=‘Asia/Shanghai‘;exportTZexportPATH[root@db-server~]#source.bash_profile[root@db-server~]#date-RMon,1..
分类:
其他好文 时间:
2016-11-30 17:40:41
阅读次数:
188