Windows タイム ゾーン ユーティリティを表示します。
Syntax
tzutil [/?] [/g] [/s <timezoneID>[_dstoff]] [/l]
Parameters
Parameter | Description |
---|---|
/g | 現在のタイム ゾーン ID を表示します。 |
/s <computer> |
指定されたタイム ゾーン ID を使用して、現在のタイム ゾーンを設定します。 The _dstoff suffix disables Daylight Saving time adjustments for the time zone (where applicable). この値は、引用符で囲む必要があります。 |
/l | すべての有効なタイム ゾーン ID と表示名を一覧表示します。 出力は次のように表示されます。
|
/? | コマンド プロンプトにヘルプを表示します。 |
Remarks
An exit code of 0 indicates the command completed successfully.
Examples
現在のタイム ゾーン ID を表示するには、次のように入力します。
tzutil /g
現在のタイム ゾーンを太平洋標準時に設定するには、次のように入力します。
tzutil /s "Pacific Standard time"
現在のタイム ゾーンを太平洋標準時に設定し、夏時間の調整を無効にするには、次のように入力します。
tzutil /s "Pacific Standard time_dstoff"