Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Windows 8 設定長/短時間格式:自訂 AM/PM、顯示個性化文字

編輯:Windows 8 系統介紹

Windows 8 可自訂系統托盤時鐘的長/短時間格式,支援 12/24 小時制切換、AM/PM 標示替換、甚至加入個性化文字 (如「我愛 xx」)。

操作步驟

  1. Win+R → 輸入 intl.cpl → Enter 開啟「地區」視窗。
  2. 點擊「其他設定...」按鈕。
  3. 切換至「時間」索引標籤。
  4. 修改「短時間」與「長時間」格式:
    在格式字串前加入 tt 可顯示 AM/PM (或自訂上/下午標示)。
    範例:tt h:mm:ss → 顯示「上午 10:30:45」。
  5. 同頁面「上下午」欄位可自訂 AM/PM 顯示文字 (如「朝/晚」、「上/下」、「♥/♠」)。
  6. 點擊「套用」→「確定」生效。

時間格式自訂介面

常用格式代碼對照表

代碼含義範例輸出
h/hh12小時制小時 (不補零/補零)9 / 09
H/HH24小時制小時 (不補零/補零)14 / 14
m/mm分鐘 (不補零/補零)5 / 05
s/ss秒數 (不補零/補零)7 / 07
tt上下午標示 (AM/PM 或自訂)上午 / 下午
yyyy四位數年份2024
M/MM月份 (不補零/補零)3 / 03
d/dd日期 (不補零/補零)8 / 08

應用範例

  • 24小時制標準:HH:mm:ss → 14:30:45
  • 12小時制含上下午:tt h:mm:ss → 下午 2:30:45
  • 個性化:tt h:mm "我愛寫代碼" → 下午 2:30 我愛寫代碼
Copyright © Windows教程網 All Rights Reserved