<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Asia/Taipei &#8211; CAPDIO</title>
	<atom:link href="https://www.capdio.com/tag/asia-taipei/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.capdio.com</link>
	<description>遊戲開發 Studio</description>
	<lastBuildDate>Mon, 16 Jun 2025 02:48:01 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.capdio.com/wp-content/uploads/2024/06/cropped-capdio-favicon-white-32x32.png</url>
	<title>Asia/Taipei &#8211; CAPDIO</title>
	<link>https://www.capdio.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>ubuntu 修改時間的方法</title>
		<link>https://www.capdio.com/servertech/linux/ubuntu-%e4%bf%ae%e6%94%b9%e6%99%82%e9%96%93%e7%9a%84%e6%96%b9%e6%b3%95/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ubuntu-%25e4%25bf%25ae%25e6%2594%25b9%25e6%2599%2582%25e9%2596%2593%25e7%259a%2584%25e6%2596%25b9%25e6%25b3%2595</link>
					<comments>https://www.capdio.com/servertech/linux/ubuntu-%e4%bf%ae%e6%94%b9%e6%99%82%e9%96%93%e7%9a%84%e6%96%b9%e6%b3%95/#respond</comments>
		
		<dc:creator><![CDATA[George]]></dc:creator>
		<pubDate>Sun, 15 Jun 2025 03:28:26 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Asia/Taipei]]></category>
		<category><![CDATA[GMT]]></category>
		<category><![CDATA[timezone]]></category>
		<category><![CDATA[tzdata]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[UTC]]></category>
		<guid isPermaLink="false">https://www.capdio.com/?p=1847</guid>

					<description><![CDATA[有在使用 Linux 系統的人應該都知道如果系統時間不對, 有的時候一個失誤就會早成 log, 存檔的資料時間顯示錯亂, 特別是對程式開發人員如果有好的開發習慣在執行環境中事先指定時區那就不會有問題, 但如果一個不小心沒有去特別處理這個時區設定的工作, 結果就是時間軸怎麼怪怪的!!! 排程工作怎麼怪怪的!!! 以下我們就來透過幾個簡單的步驟對 Linux 系統進行設定 完成啦！ 以上兩個方法應該可以解決有關系統時間設定的問題, 如有其他問題也可留言討論! 時區相關參考資料:https://stackoverflow.com/questions/14128574/is-there-a-difference-between-the-utc-and-etc-utc-time-zones]]></description>
										<content:encoded><![CDATA[
<p>有在使用 Linux 系統的人應該都知道如果系統時間不對, 有的時候一個失誤就會早成 log, 存檔的資料時間顯示錯亂, 特別是對程式開發人員如果有好的開發習慣在執行環境中事先指定時區那就不會有問題, 但如果一個不小心沒有去特別處理這個時區設定的工作, 結果就是時間軸怎麼怪怪的!!!  排程工作怎麼怪怪的!!!  以下我們就來透過幾個簡單的步驟對 Linux 系統進行設定</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-plain"><code># 首先我們先了解一下幾個資訊
# 台灣時區是 GMT + 8, 也就是我們的時間是 Greenwich Mean Time Zone (格林威治標準時間) + 8 小時
# 台灣的時區是 Asia/Taipei 
# 設定時區有兩個方法, 示範說明如下

# &lt;&lt; 方法 1 &gt;&gt;
# 首先我們先透過指令查看目前系統的時間資訊
# 輸入 timedatectl, 獲得以下資訊
# ====================================================
               Local time: Sun 2025-06-15 00:40:03 UTC
           Universal time: Sun 2025-06-15 00:40:03 UTC
                 RTC time: Sun 2025-06-15 00:40:03
                Time zone: Etc/UTC (UTC, +0000)
System clock synchronized: yes
			  NTP service: active
		  RTC in local TZ: no
# ====================================================
# 從這邊你可以看到你的時區是 Etc/UTC (UTC, +0000)
# 首先什麼是 Etc/UTC, 他是這樣的格式來做顯示的內容 Area/Location
# 其實「etc/utc」代表的是「世界協調時間(Coordinated Universal Time)」的時區代碼，
# 等同於「UTC」. 在Linux系統中，etc/utc 是一個常見的時區設定檔，用來表示世界標準時間，
# 也就是說，它不隨任何國家或地區的時間變化而變化，始終與原子鐘計時的標準時間保持一致
# 接下可透過以下指令查看所有時區資料
timedatectl list-timezones

# 如果覺得資料量太大, 可以抓取關鍵字顯示, 以下示範抓取 &quot;Taipei&quot;
timedatectl list-timezones | grep Taipei

# 確定好要設定的時區代號, 就可立即來進行設定囉!
sudo timedatectl set-timezone Asia/Taipei

# 完成之後, 再次透過 timedatectl 查看目前的時區設定, 你會發現他已經轉換到 Taipei 了喔!</code></pre></div>



<div class="hcb_wrap"><pre class="prism line-numbers lang-plain"><code># &lt;&lt; 方法 2 &gt;&gt;
# 當你的系統沒有 systemd 時, 你就必須使用這第二個方法來設定時區
dpkg-reconfigure tzdata

# 接下來會跳出讓你選區域與城市的畫面, 選擇 Asia 與 Taipei
# 完成後回到指令介面, 你就會看到你的 Local time is now: XXXXX 顯示的就是正確的當地時間喔!!!!
</code></pre></div>



<p>完成啦！ 以上兩個方法應該可以解決有關系統時間設定的問題, 如有其他問題也可留言討論!</p>



<p>時區相關參考資料:<br><a href="https://stackoverflow.com/questions/14128574/is-there-a-difference-between-the-utc-and-etc-utc-time-zones">https://stackoverflow.com/questions/14128574/is-there-a-difference-between-the-utc-and-etc-utc-time-zones</a><br><br></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.capdio.com/servertech/linux/ubuntu-%e4%bf%ae%e6%94%b9%e6%99%82%e9%96%93%e7%9a%84%e6%96%b9%e6%b3%95/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
