zoukankan      html  css  js  c++  java
  • Linux时区设置

    Linux 设置服务器时区 UTC 0区

    Linux服务器建议使用UTC 0区且没有夏时令,Atlantic/Reykjavik正好符合,这样各个程序都比较简单,时间不用算来算去的。

    “夏时令”也会影响时间的换算,wiki上有讲解。

    sudo tzselect
     6) Atlantic Ocean
    6
    5) Iceland
    5
    You can make this change permanent for yourself by appending the line
    	TZ='Atlantic/Reykjavik'; export TZ
    to the file '.profile' in your home directory; then log out and log in again.
    
    Here is that TZ value again, this time on standard output so that you
    can use the /usr/bin/tzselect command in shell scripts:
    Atlantic/Reykjavik
    
  • 相关阅读:
    html 简介
    MySQL事务等了解知识
    MySQL—navicat&&练习&&pymysql
    MySQL查询表(一)
    作业
    MySQL约束&&表关系
    mysql数据类型
    初识mysql
    dll 原理解析
    又过了一天
  • 原文地址:https://www.cnblogs.com/sink_cup/p/linux_utc_timezone.html
Copyright © 2011-2022 走看看