{"id":93352,"date":"2026-08-12T14:41:12","date_gmt":"2026-08-12T06:41:12","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/93352.html"},"modified":"2026-08-12T14:41:12","modified_gmt":"2026-08-12T06:41:12","slug":"linux-%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%97%b6%e9%97%b4%e4%b8%8d%e5%af%b9%ef%bc%9f%e5%ae%9d%e5%a1%94%e6%95%b0%e6%8d%ae%e5%ba%93%e5%a4%87%e4%bb%bd%e8%bf%98%e6%98%af-utc%ef%bc%9f%e4%b8%80%e7%af%87%e5%bd%bb","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/93352.html","title":{"rendered":"Linux \u670d\u52a1\u5668\u65f6\u95f4\u4e0d\u5bf9\uff1f\u5b9d\u5854\u6570\u636e\u5e93\u5907\u4efd\u8fd8\u662f UTC\uff1f\u4e00\u7bc7\u5f7b\u5e95\u8bb2\u6e05\u695a\uff08\u5c0f\u767d\u5fc5\u770b\uff09"},"content":{"rendered":"<p>\u5f88\u591a\u4eba\u7b2c\u4e00\u6b21\u767b\u5f55\u670d\u52a1\u5668&#xff0c;\u4f1a\u9047\u5230\u8fd9\u4e9b\u95ee\u9898&#xff1a;<\/p>\n<ul>\n<li>date \u663e\u793a\u7684\u662f UTC&#xff0c;\u5c11 8 \u5c0f\u65f6<\/li>\n<li>\u5df2\u7ecf\u6539\u4e86\u7cfb\u7edf\u65f6\u533a&#xff0c;\u4f46 \u5b9d\u5854\u6570\u636e\u5e93\u5907\u4efd\u65f6\u95f4\u8fd8\u662f\u4e0d\u5bf9<\/li>\n<li>\u65e5\u5fd7\u65f6\u95f4\u4e71\u3001\u5b9a\u65f6\u4efb\u52a1\u8dd1\u504f\u3001MySQL \u65f6\u95f4\u4e0d\u4e00\u81f4<\/li>\n<\/ul>\n<p>\u522b\u6025&#xff0c;\u8fd9\u4e0d\u662f\u4f60\u4e00\u4e2a\u4eba\u7684\u95ee\u9898\u3002<br \/>\n\u8fd9\u7bc7\u6587\u7ae0\u4ece \u539f\u7406 \u2192 \u64cd\u4f5c \u2192 \u5b9d\u5854\u4e13\u9879\u5751\u4f4d&#xff0c;\u4e00\u6b65\u4e00\u6b65\u5e26\u4f60\u5f7b\u5e95\u89e3\u51b3\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001\u4e3a\u4ec0\u4e48\u670d\u52a1\u5668\u65f6\u95f4\u9ed8\u8ba4\u662f UTC&#xff1f;<\/h3>\n<p>\u5927\u591a\u6570\u4e91\u670d\u52a1\u5668\u3001\u6d77\u5916\u955c\u50cf\u3001\u5b98\u65b9\u7cfb\u7edf&#xff0c;\u9ed8\u8ba4\u4f7f\u7528 UTC&#xff1a;<\/p>\n<ul>\n<li>UTC \u662f\u4e16\u754c\u6807\u51c6\u65f6\u95f4<\/li>\n<li>\u4e2d\u56fd\u5317\u4eac\u65f6\u95f4 &#061; UTC &#043; 8 \u5c0f\u65f6<\/li>\n<li>\u670d\u52a1\u5668\u7edf\u4e00\u7528 UTC&#xff0c;\u8de8\u65f6\u533a\u66f4\u5b89\u5168\u3001\u66f4\u7a33\u5b9a<\/li>\n<\/ul>\n<p>\u4f46\u5982\u679c\u4f60&#xff1a;<\/p>\n<ul>\n<li>\u5728\u56fd\u5185<\/li>\n<li>\u65e5\u5fd7\u3001\u6392\u67e5\u3001\u4e1a\u52a1\u90fd\u4ee5\u5317\u4eac\u65f6\u95f4\u4e3a\u51c6<\/li>\n<\/ul>\n<p>&#x1f449; \u90a3\u5c31\u5e94\u8be5\u628a \u7cfb\u7edf\u672c\u5730\u65f6\u533a \u6539\u6210 Asia\/Shanghai\u3002<\/p>\n<hr \/>\n<h3>\u4e8c\u3001\u5148\u641e\u6e05\u695a&#xff1a;\u670d\u52a1\u5668\u73b0\u5728\u5230\u5e95\u7528\u7684\u662f\u4ec0\u4e48\u65f6\u95f4&#xff1f;<\/h3>\n<p>\u4e0d\u8981\u53ea\u770b date&#xff0c;\u4e00\u5b9a\u8981\u770b timedatectl\u3002<\/p>\n<p>timedatectl<\/p>\n<p>\u5982\u679c\u4f60\u770b\u5230\u7c7b\u4f3c\u8fd9\u6837&#xff1a;<\/p>\n<p>Local time: Thu 2026-02-05 02:16:30 UTC<br \/>\nUniversal time: Thu 2026-02-05 02:16:30 UTC<br \/>\nTime zone: Etc\/UTC (UTC, &#043;0000)<br \/>\nSystem clock synchronized: yes<br \/>\nNTP service: active<\/p>\n<p>\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>\u5f53\u524d \u7cfb\u7edf\u672c\u5730\u65f6\u533a\u662f UTC<\/li>\n<li>NTP \u540c\u6b65\u662f\u6b63\u5e38\u7684&#xff08;\u8fd9\u662f\u597d\u4e8b&#xff09;<\/li>\n<\/ul>\n<hr \/>\n<h3>\u4e09\u3001\u4e00\u6b65\u628a\u670d\u52a1\u5668\u6539\u6210\u5317\u4eac\u65f6\u95f4&#xff08;\u63a8\u8350\u65b9\u5f0f&#xff09;<\/h3>\n<h4>1\ufe0f\u20e3 \u8bbe\u7f6e\u65f6\u533a\u4e3a Asia\/Shanghai<\/h4>\n<p><span class=\"token function\">sudo<\/span> timedatectl set-timezone Asia\/Shanghai<\/p>\n<h4>2\ufe0f\u20e3 \u7acb\u523b\u9a8c\u8bc1<\/h4>\n<p>timedatectl<br \/>\n<span class=\"token function\">date<\/span><\/p>\n<p>\u4f60\u5e94\u8be5\u770b\u5230&#xff1a;<\/p>\n<p>Local time: Thu 2026-02-05 10:16:44 CST<br \/>\nUniversal time: Thu 2026-02-05 02:16:44 UTC<br \/>\nTime zone: Asia\/Shanghai (CST, &#043;0800)<br \/>\nSystem clock synchronized: yes<\/p>\n<p>\u4ee5\u53ca&#xff1a;<\/p>\n<p>Thu Feb  5 10:16:44 AM CST 2026<\/p>\n<p>\u2705 \u8bf4\u660e\u7cfb\u7edf\u65f6\u533a\u5df2\u6210\u529f\u5207\u6362<br \/>\n\u2705 \u4e0d\u9700\u8981\u91cd\u542f\u670d\u52a1\u5668<\/p>\n<hr \/>\n<h3>\u56db\u3001\u8fd9\u662f\u201c\u6b63\u786e\u4e14\u63a8\u8350\u201d\u7684\u751f\u4ea7\u914d\u7f6e\u5417&#xff1f;<\/h3>\n<p>\u662f\u7684&#xff0c;\u800c\u4e14\u662f\u6559\u79d1\u4e66\u7ea7\u914d\u7f6e&#xff1a;<\/p>\n<ul>\n<li>\u7cfb\u7edf\u672c\u5730\u65f6\u95f4&#xff1a;Asia\/Shanghai&#xff08;\u5317\u4eac\u65f6\u95f4&#xff09;<\/li>\n<li>UTC \u65f6\u95f4&#xff1a;\u6b63\u5e38\u4fdd\u7559<\/li>\n<li>NTP&#xff1a;\u5f00\u542f\u5e76\u540c\u6b65<\/li>\n<li>RTC&#xff08;\u786c\u4ef6\u65f6\u949f&#xff09;&#xff1a;\u4fdd\u6301 UTC<\/li>\n<\/ul>\n<p>\u4f60\u53ef\u80fd\u4f1a\u770b\u5230\u8fd9\u4e00\u884c&#xff1a;<\/p>\n<p>RTC in local TZ: no<\/p>\n<p>&#x1f449; \u8fd9\u662f\u597d\u4e8b&#xff0c;\u4e0d\u662f\u95ee\u9898\u3002<\/p>\n<hr \/>\n<h3>\u4e94\u3001Docker \/ Jenkins \/ Java \u65f6\u95f4\u8fd8\u662f\u4e0d\u5bf9&#xff1f;&#xff08;\u975e\u5e38\u5e38\u89c1&#xff09;<\/h3>\n<p>\u7cfb\u7edf\u65f6\u95f4\u5bf9\u4e86&#xff0c;\u4e0d\u4ee3\u8868\u6240\u6709\u5e94\u7528\u90fd\u5bf9\u4e86\u3002<\/p>\n<h4>1\ufe0f\u20e3 Docker \u5bb9\u5668\u91cc\u67e5\u770b\u65f6\u95f4<\/h4>\n<p><span class=\"token function\">docker<\/span> <span class=\"token builtin class-name\">exec<\/span> -it \u5bb9\u5668\u540d <span class=\"token function\">date<\/span><\/p>\n<h4>2\ufe0f\u20e3 Docker \u63a8\u8350\u8bbe\u7f6e\u65f6\u533a&#xff08;\u542f\u52a8\u5bb9\u5668\u65f6&#xff09;<\/h4>\n<p>-e <span class=\"token assign-left variable\">TZ<\/span><span class=\"token operator\">&#061;<\/span>Asia\/Shanghai<\/p>\n<p>\u6216&#xff1a;<\/p>\n<p>-v \/etc\/localtime:\/etc\/localtime:ro<\/p>\n<p>&#x1f449; Jenkins \u5bb9\u5668\u5efa\u8bae\u4e24\u79cd\u90fd\u7528&#xff0c;\u66f4\u7a33\u3002<\/p>\n<hr \/>\n<h4>3\ufe0f\u20e3 Java \/ Spring Boot \u65f6\u95f4\u6162 8 \u5c0f\u65f6&#xff1f;<\/h4>\n<p>Java \u53ef\u80fd\u4ecd\u4f7f\u7528 UTC\u3002<\/p>\n<h5>JVM \u542f\u52a8\u53c2\u6570&#xff08;\u5f3a\u70c8\u5efa\u8bae&#xff09;<\/h5>\n<p>-Duser.timezone<span class=\"token operator\">&#061;<\/span>Asia\/Shanghai<\/p>\n<p>\u793a\u4f8b&#xff1a;<\/p>\n<p>java -Duser.timezone<span class=\"token operator\">&#061;<\/span>Asia\/Shanghai -jar app.jar<\/p>\n<p>Spring Boot&#xff08;\u53ef\u9009&#xff09;&#xff1a;<\/p>\n<p><span class=\"token key atrule\">spring<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token key atrule\">jackson<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token key atrule\">time-zone<\/span><span class=\"token punctuation\">:<\/span> Asia\/Shanghai<\/p>\n<hr \/>\n<h3>\u516d\u3001MySQL \u65f6\u95f4\u4e0d\u5bf9&#xff1f;&#xff08;\u5355\u72ec\u4e00\u5c42&#xff09;<\/h3>\n<p>\u7cfb\u7edf\u65f6\u95f4\u5bf9\u4e86&#xff0c;MySQL \u4e5f\u53ef\u80fd\u8fd8\u662f UTC\u3002<\/p>\n<h4>1\ufe0f\u20e3 \u68c0\u67e5 MySQL \u65f6\u533a<\/h4>\n<p><span class=\"token keyword\">show<\/span> variables <span class=\"token operator\">like<\/span> <span class=\"token string\">&#039;%time_zone%&#039;<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>\u5982\u679c\u770b\u5230&#xff1a;<\/p>\n<p>system_time_zone &#061; UTC<br \/>\ntime_zone &#061; SYSTEM<\/p>\n<p>\u8bf4\u660e MySQL \u542f\u52a8\u65f6\u8bfb\u7684\u662f\u65e7\u65f6\u533a\u3002<\/p>\n<h4>2\ufe0f\u20e3 \u4e34\u65f6\u4fee\u590d&#xff08;\u7acb\u5373\u751f\u6548&#xff0c;\u91cd\u542f\u5931\u6548&#xff09;<\/h4>\n<p><span class=\"token keyword\">set<\/span> <span class=\"token keyword\">global<\/span> time_zone <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#039;&#043;08:00&#039;<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<h4>3\ufe0f\u20e3 \u6c38\u4e45\u4fee\u590d&#xff08;\u63a8\u8350&#xff09;<\/h4>\n<p>\u5b9d\u5854 MySQL \u914d\u7f6e\u4e00\u822c\u5728&#xff1a;<\/p>\n<p>\/www\/server\/mysql\/my.cnf<\/p>\n<p>\u52a0\u5165&#xff1a;<\/p>\n<p>[mysqld]<br \/>\ndefault-time-zone &#061; &#039;&#043;08:00&#039;<\/p>\n<p>\u7136\u540e\u91cd\u542f MySQL&#xff1a;<\/p>\n<p><span class=\"token function\">service<\/span> mysqld restart<\/p>\n<hr \/>\n<h3>\u4e03\u3001\u91cd\u70b9\u5751\u4f4d&#xff1a;\u5b9d\u5854\u6570\u636e\u5e93\u5907\u4efd\u65f6\u95f4\u8fd8\u662f UTC&#xff0c;\u4e3a\u4ec0\u4e48&#xff1f;<\/h3>\n<p>\u8fd9\u662f\u6700\u5bb9\u6613\u5361\u4eba\u7684\u5730\u65b9\u3002<\/p>\n<p>\u4f60\u4f1a\u53d1\u73b0&#xff1a;<\/p>\n<ul>\n<li>\u7cfb\u7edf date \u5df2\u7ecf\u662f CST<\/li>\n<li>\u4f46\u5b9d\u5854\u300c\u6570\u636e\u5e93\u5907\u4efd\u300d\u663e\u793a\u7684\u65f6\u95f4\u8fd8\u662f\u4e0d\u5bf9<\/li>\n<\/ul>\n<p>&#x1f449; \u539f\u56e0\u901a\u5e38\u4e0d\u662f\u4e00\u4e2a&#xff0c;\u800c\u662f \u5b9d\u5854\u6709\u81ea\u5df1\u7684\u6267\u884c\u73af\u5883\u3002<\/p>\n<hr \/>\n<h4>\u539f\u56e0\u4e00&#xff08;\u6700\u5e38\u89c1&#xff09;&#xff1a;\u5b9d\u5854\u9762\u677f\u7f13\u5b58\u4e86\u65e7\u65f6\u533a<\/h4>\n<p>\u5b9d\u5854\u5728\u542f\u52a8\u65f6\u4f1a\u8bfb\u53d6\u7cfb\u7edf\u65f6\u533a\u3002<\/p>\n<p>\u5982\u679c\u4f60\u662f&#xff1a;<\/p>\n<p>\u5148\u542f\u52a8\u5b9d\u5854 \u2192 \u540e\u4fee\u6539\u7cfb\u7edf\u65f6\u533a<\/p>\n<p>\u90a3\u5b9d\u5854\u8fd8\u5728\u7528\u65e7\u7684 UTC\u3002<\/p>\n<h5>\u2705 \u89e3\u51b3\u65b9\u6cd5&#xff08;90% \u7684\u4eba\u5230\u8fd9\u4e00\u6b65\u5c31\u597d\u4e86&#xff09;<\/h5>\n<p>bt restart<\/p>\n<p>\u6216&#xff1a;<\/p>\n<p><span class=\"token function\">service<\/span> bt restart<\/p>\n<p>\u7136\u540e&#xff1a;<\/p>\n<ul>\n<li>\u518d\u6267\u884c\u4e00\u6b21\u6570\u636e\u5e93\u5907\u4efd<\/li>\n<li>\u6216\u7b49\u4e0b\u4e00\u6b21\u81ea\u52a8\u5907\u4efd<\/li>\n<\/ul>\n<hr \/>\n<h4>\u539f\u56e0\u4e8c&#xff1a;\u5b9d\u5854\u5b9a\u65f6\u4efb\u52a1&#xff08;cron&#xff09;\u73af\u5883\u4e0d\u4e00\u81f4<\/h4>\n<p>\u5b9d\u5854\u6570\u636e\u5e93\u5907\u4efd\u662f\u901a\u8fc7 cron \u5b9a\u65f6\u4efb\u52a1 \u89e6\u53d1\u7684\u3002<\/p>\n<p>\u4f60\u53ef\u4ee5\u68c0\u67e5&#xff1a;<\/p>\n<p><span class=\"token function\">crontab<\/span> -l<\/p>\n<p>\u6709\u4e9b\u73af\u5883\u4e0b&#xff0c;cron \u4f7f\u7528\u7684\u65f6\u533a\u548c\u7cfb\u7edf\u4e0d\u5b8c\u5168\u4e00\u81f4\u3002<\/p>\n<p>&#x1f449; \u9ad8\u7ea7\u7528\u6cd5&#xff08;\u4e86\u89e3\u5373\u53ef&#xff09;&#xff1a;<\/p>\n<p><span class=\"token assign-left variable\">CRON_TZ<\/span><span class=\"token operator\">&#061;<\/span>Asia\/Shanghai<\/p>\n<hr \/>\n<h4>\u539f\u56e0\u4e09&#xff1a;MySQL \u81ea\u5df1\u8fd8\u5728\u7528 UTC&#xff08;\u5f88\u5e38\u89c1&#xff09;<\/h4>\n<p>\u5373\u4f7f\u7cfb\u7edf\u548c\u5b9d\u5854\u5bf9\u4e86&#xff0c;MySQL \u4ecd\u53ef\u80fd\u662f UTC\u3002<\/p>\n<p>\u4e00\u5b9a\u8981\u6267\u884c&#xff1a;<\/p>\n<p><span class=\"token keyword\">show<\/span> variables <span class=\"token operator\">like<\/span> <span class=\"token string\">&#039;%time_zone%&#039;<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>\u5e76\u6309\u4e0a\u9762 \u7b2c\u516d\u8282 \u5904\u7406\u3002<\/p>\n<hr \/>\n<h4>\u539f\u56e0\u56db&#xff08;\u6781\u5c11\u89c1&#xff09;&#xff1a;\u5907\u4efd\u811a\u672c\u91cc\u5199\u6b7b\u4e86 UTC<\/h4>\n<p>\u8001\u7248\u672c\u811a\u672c\u53ef\u80fd\u7528&#xff1a;<\/p>\n<p><span class=\"token function\">date<\/span> -u<\/p>\n<p>\u6392\u67e5&#xff1a;<\/p>\n<p><span class=\"token function\">grep<\/span> -R <span class=\"token string\">&#034;date -u&#034;<\/span> \/www\/server\/panel\/script\/<\/p>\n<p>\u8fd9\u79cd\u60c5\u51b5\u5efa\u8bae \u5347\u7ea7\u5b9d\u5854\u7248\u672c&#xff0c;\u4e0d\u63a8\u8350\u5c0f\u767d\u624b\u6539\u811a\u672c\u3002<\/p>\n<hr \/>\n<h3>\u516b\u30015 \u5206\u949f\u4e07\u80fd\u6392\u67e5\u6e05\u5355&#xff08;\u76f4\u63a5\u590d\u5236&#xff09;<\/h3>\n<p><span class=\"token comment\"># \u7cfb\u7edf<\/span><br \/>\n<span class=\"token function\">date<\/span><br \/>\ntimedatectl<\/p>\n<p><span class=\"token comment\"># \u91cd\u542f\u5b9d\u5854&#xff08;\u5173\u952e&#xff09;<\/span><br \/>\nbt restart<\/p>\n<p><span class=\"token comment\"># Docker&#xff08;\u5982\u6709&#xff09;<\/span><br \/>\n<span class=\"token function\">docker<\/span> <span class=\"token builtin class-name\">exec<\/span> -it \u5bb9\u5668\u540d <span class=\"token function\">date<\/span><\/p>\n<p><span class=\"token comment\"># MySQL<\/span><br \/>\nmysql -uroot -p<br \/>\nshow variables like <span class=\"token string\">&#039;%time_zone%&#039;<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<hr \/>\n<h3>\u4e5d\u3001\u4e00\u53e5\u8bdd\u603b\u7ed3&#xff08;\u53ef\u4ee5\u76f4\u63a5\u5bf9\u540c\u4e8b\/\u9886\u5bfc\u8bf4&#xff09;<\/h3>\n<p>\u670d\u52a1\u5668\u7cfb\u7edf\u65f6\u533a\u5df2\u5207\u6362\u4e3a Asia\/Shanghai&#xff0c;\u4f46\u5b9d\u5854\u9762\u677f\u3001\u5b9a\u65f6\u4efb\u52a1\u6216 MySQL \u5728\u542f\u52a8\u65f6\u7f13\u5b58\u4e86\u65e7\u65f6\u533a&#xff0c;\u9700\u8981\u91cd\u542f\u5b9d\u5854\u5e76\u786e\u8ba4\u6570\u636e\u5e93\u65f6\u533a\u914d\u7f6e&#xff0c;\u4e4b\u540e\u5907\u4efd\u65f6\u95f4\u5373\u53ef\u4e0e\u7cfb\u7edf\u65f6\u95f4\u4fdd\u6301\u4e00\u81f4\u3002<\/p>\n<hr \/>\n<h3>\u5341\u3001\u5199\u5728\u6700\u540e<\/h3>\n<p>\u65f6\u95f4\u95ee\u9898\u4e0d\u662f\u201c\u6709\u6ca1\u6709\u6539\u65f6\u533a\u201d\u8fd9\u4e48\u7b80\u5355&#xff0c;\u800c\u662f&#xff1a;<\/p>\n<p>\u7cfb\u7edf \u2192 \u5b9d\u5854 \u2192 \u5b9a\u65f6\u4efb\u52a1 \u2192 \u5bb9\u5668 \u2192 JVM \u2192 \u6570\u636e\u5e93<br \/>\n\u54ea\u4e00\u5c42\u6ca1\u7edf\u4e00&#xff0c;\u65f6\u95f4\u5c31\u4f1a\u4e71\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f88\u591a\u4eba\u7b2c\u4e00\u6b21\u767b\u5f55\u670d\u52a1\u5668&#xff0c;\u4f1a\u9047\u5230\u8fd9\u4e9b\u95ee\u9898&#xff1a;<br \/>\ndate \u663e\u793a\u7684\u662f UTC&#xff0c;\u5c11 8 \u5c0f\u65f6\u5df2\u7ecf\u6539\u4e86\u7cfb\u7edf\u65f6\u533a&#xff0c;\u4f46 \u5b9d\u5854\u6570\u636e\u5e93\u5907\u4efd\u65f6\u95f4\u8fd8\u662f\u4e0d\u5bf9\u65e5\u5fd7\u65f6\u95f4\u4e71\u3001\u5b9a\u65f6\u4efb\u52a1\u8dd1\u504f\u3001MySQL \u65f6\u95f4\u4e0d\u4e00\u81f4<br \/>\n\u522b\u6025&#xff0c;\u8fd9\u4e0d\u662f\u4f60\u4e00\u4e2a\u4eba\u7684\u95ee\u9898\u3002<br \/>\n\u8fd9\u7bc7\u6587\u7ae0\u4ece \u539f\u7406 \u2192 \u64cd\u4f5c \u2192 \u5b9d\u5854\u4e13\u9879\u5751\u4f4d&#xff0c;\u4e00\u6b65\u4e00\u6b65\u5e26\u4f60\u5f7b\u5e95\u89e3\u51b3\u3002\u4e00\u3001\u4e3a\u4ec0\u4e48\u670d\u52a1\u5668\u65f6\u95f4\u9ed8\u8ba4\u662f UTC&#xff1f;<br \/>\n\u5927\u591a\u6570\u4e91\u670d\u52a1\u5668\u3001\u6d77\u5916\u955c\u50cf\u3001\u5b98\u65b9\u7cfb\u7edf&#xff0c;\u9ed8\u8ba4\u4f7f\u7528 UTC<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,100,43],"topic":[],"class_list":["post-93352","post","type-post","status-publish","format-standard","hentry","category-server","tag-linux","tag-100","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Linux \u670d\u52a1\u5668\u65f6\u95f4\u4e0d\u5bf9\uff1f\u5b9d\u5854\u6570\u636e\u5e93\u5907\u4efd\u8fd8\u662f UTC\uff1f\u4e00\u7bc7\u5f7b\u5e95\u8bb2\u6e05\u695a\uff08\u5c0f\u767d\u5fc5\u770b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/93352.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux \u670d\u52a1\u5668\u65f6\u95f4\u4e0d\u5bf9\uff1f\u5b9d\u5854\u6570\u636e\u5e93\u5907\u4efd\u8fd8\u662f UTC\uff1f\u4e00\u7bc7\u5f7b\u5e95\u8bb2\u6e05\u695a\uff08\u5c0f\u767d\u5fc5\u770b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5f88\u591a\u4eba\u7b2c\u4e00\u6b21\u767b\u5f55\u670d\u52a1\u5668&#xff0c;\u4f1a\u9047\u5230\u8fd9\u4e9b\u95ee\u9898&#xff1a; date \u663e\u793a\u7684\u662f UTC&#xff0c;\u5c11 8 \u5c0f\u65f6\u5df2\u7ecf\u6539\u4e86\u7cfb\u7edf\u65f6\u533a&#xff0c;\u4f46 \u5b9d\u5854\u6570\u636e\u5e93\u5907\u4efd\u65f6\u95f4\u8fd8\u662f\u4e0d\u5bf9\u65e5\u5fd7\u65f6\u95f4\u4e71\u3001\u5b9a\u65f6\u4efb\u52a1\u8dd1\u504f\u3001MySQL \u65f6\u95f4\u4e0d\u4e00\u81f4 \u522b\u6025&#xff0c;\u8fd9\u4e0d\u662f\u4f60\u4e00\u4e2a\u4eba\u7684\u95ee\u9898\u3002 \u8fd9\u7bc7\u6587\u7ae0\u4ece \u539f\u7406 \u2192 \u64cd\u4f5c \u2192 \u5b9d\u5854\u4e13\u9879\u5751\u4f4d&#xff0c;\u4e00\u6b65\u4e00\u6b65\u5e26\u4f60\u5f7b\u5e95\u89e3\u51b3\u3002\u4e00\u3001\u4e3a\u4ec0\u4e48\u670d\u52a1\u5668\u65f6\u95f4\u9ed8\u8ba4\u662f UTC&#xff1f; \u5927\u591a\u6570\u4e91\u670d\u52a1\u5668\u3001\u6d77\u5916\u955c\u50cf\u3001\u5b98\u65b9\u7cfb\u7edf&#xff0c;\u9ed8\u8ba4\u4f7f\u7528 UTC\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/93352.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-12T06:41:12+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/93352.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/93352.html\",\"name\":\"Linux \u670d\u52a1\u5668\u65f6\u95f4\u4e0d\u5bf9\uff1f\u5b9d\u5854\u6570\u636e\u5e93\u5907\u4efd\u8fd8\u662f UTC\uff1f\u4e00\u7bc7\u5f7b\u5e95\u8bb2\u6e05\u695a\uff08\u5c0f\u767d\u5fc5\u770b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-12T06:41:12+00:00\",\"dateModified\":\"2026-08-12T06:41:12+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/93352.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/93352.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/93352.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux \u670d\u52a1\u5668\u65f6\u95f4\u4e0d\u5bf9\uff1f\u5b9d\u5854\u6570\u636e\u5e93\u5907\u4efd\u8fd8\u662f UTC\uff1f\u4e00\u7bc7\u5f7b\u5e95\u8bb2\u6e05\u695a\uff08\u5c0f\u767d\u5fc5\u770b\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Linux \u670d\u52a1\u5668\u65f6\u95f4\u4e0d\u5bf9\uff1f\u5b9d\u5854\u6570\u636e\u5e93\u5907\u4efd\u8fd8\u662f UTC\uff1f\u4e00\u7bc7\u5f7b\u5e95\u8bb2\u6e05\u695a\uff08\u5c0f\u767d\u5fc5\u770b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/93352.html","og_locale":"zh_CN","og_type":"article","og_title":"Linux \u670d\u52a1\u5668\u65f6\u95f4\u4e0d\u5bf9\uff1f\u5b9d\u5854\u6570\u636e\u5e93\u5907\u4efd\u8fd8\u662f UTC\uff1f\u4e00\u7bc7\u5f7b\u5e95\u8bb2\u6e05\u695a\uff08\u5c0f\u767d\u5fc5\u770b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5f88\u591a\u4eba\u7b2c\u4e00\u6b21\u767b\u5f55\u670d\u52a1\u5668&#xff0c;\u4f1a\u9047\u5230\u8fd9\u4e9b\u95ee\u9898&#xff1a; date \u663e\u793a\u7684\u662f UTC&#xff0c;\u5c11 8 \u5c0f\u65f6\u5df2\u7ecf\u6539\u4e86\u7cfb\u7edf\u65f6\u533a&#xff0c;\u4f46 \u5b9d\u5854\u6570\u636e\u5e93\u5907\u4efd\u65f6\u95f4\u8fd8\u662f\u4e0d\u5bf9\u65e5\u5fd7\u65f6\u95f4\u4e71\u3001\u5b9a\u65f6\u4efb\u52a1\u8dd1\u504f\u3001MySQL \u65f6\u95f4\u4e0d\u4e00\u81f4 \u522b\u6025&#xff0c;\u8fd9\u4e0d\u662f\u4f60\u4e00\u4e2a\u4eba\u7684\u95ee\u9898\u3002 \u8fd9\u7bc7\u6587\u7ae0\u4ece \u539f\u7406 \u2192 \u64cd\u4f5c \u2192 \u5b9d\u5854\u4e13\u9879\u5751\u4f4d&#xff0c;\u4e00\u6b65\u4e00\u6b65\u5e26\u4f60\u5f7b\u5e95\u89e3\u51b3\u3002\u4e00\u3001\u4e3a\u4ec0\u4e48\u670d\u52a1\u5668\u65f6\u95f4\u9ed8\u8ba4\u662f UTC&#xff1f; \u5927\u591a\u6570\u4e91\u670d\u52a1\u5668\u3001\u6d77\u5916\u955c\u50cf\u3001\u5b98\u65b9\u7cfb\u7edf&#xff0c;\u9ed8\u8ba4\u4f7f\u7528 UTC","og_url":"https:\/\/www.wsisp.com\/helps\/93352.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-12T06:41:12+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/93352.html","url":"https:\/\/www.wsisp.com\/helps\/93352.html","name":"Linux \u670d\u52a1\u5668\u65f6\u95f4\u4e0d\u5bf9\uff1f\u5b9d\u5854\u6570\u636e\u5e93\u5907\u4efd\u8fd8\u662f UTC\uff1f\u4e00\u7bc7\u5f7b\u5e95\u8bb2\u6e05\u695a\uff08\u5c0f\u767d\u5fc5\u770b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-12T06:41:12+00:00","dateModified":"2026-08-12T06:41:12+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/93352.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/93352.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/93352.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Linux \u670d\u52a1\u5668\u65f6\u95f4\u4e0d\u5bf9\uff1f\u5b9d\u5854\u6570\u636e\u5e93\u5907\u4efd\u8fd8\u662f UTC\uff1f\u4e00\u7bc7\u5f7b\u5e95\u8bb2\u6e05\u695a\uff08\u5c0f\u767d\u5fc5\u770b\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/93352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=93352"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/93352\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=93352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=93352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=93352"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=93352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}