当前位置:网站首页>Command line enumeration, obtaining and modifying time zones
Command line enumeration, obtaining and modifying time zones
2022-06-23 22:14:00 【shawyang】
Reference resources https://stackoverflow.com/questions/16656229/how-do-i-set-the-timezone-from-command-line
Reference resources http://woshub.com/how-to-set-timezone-from-command-prompt-in-windows/
① Enumerate all time zones
Use the /l parameter to list the valid time zones.
tzutil /l
It can also be used. [System.TimeZoneInfo]::GetSystemTimeZones()
All time zones listed in the documents on Microsoft's official website :https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-10
② Get the current time zone
Use the /g parameter to get the time zone:
tzutil /g
use w32tm /tz It's fine too
③ Set time zone
Use the /s parameter to set the time zone:
give an example :
Set up utc-10 Alaska time zone
tzutil /s "Hawaiian Standard Time"
Set up utc-9 Alaska time zone
tzutil /s "Alaskan Standard Time"
Set up utc-8 US Canada Pacific time zone
tzutil /s "Pacific Standard Time"
Set up utc+2 Cairo Time Zone, Egypt
tzutil /s "Egypt Standard Time"
Set up utc+8 East eighth District of China
tzutil /s "China Standard Time"
边栏推荐
- The 10th Blue Bridge Cup single chip microcomputer
- there can be only one auto column and it must be defined as a key
- Flink practical tutorial: advanced 4-window top n
- What is zero copy?
- How to deploy API gateways and split services under multi services?
- Assembly deployment process
- Digital transformation solution for supply chain platform of mechanical equipment industry
- Icml2022 | robust task representation for off-line meta reinforcement learning based on contrastive learning
- What is the meaning of the two-way and one-way cn2 lines in Hong Kong, China?
- After CVM is configured with IPv6, it cannot be accessed as IPv6 or cannot access IPv6 sites
猜你喜欢

Intel openvino tool suite advanced course & experiment operation record and learning summary

Ten thousand words! Understand the inheritedwidget local refresh mechanism

CAD图在线Web测量工具代码实现(测量距离、面积、角度等)

Peking University, University of California Berkeley and others jointly | domain adaptive text classification with structured knowledge from unlabeled data (Domain Adaptive Text Classification Based o

Acl2022 | MVR: multi view document representation for open domain retrieval

Introduction to scikit learn machine learning practice

万字长文!一文搞懂InheritedWidget 局部刷新机制

Teacher lihongyi from National Taiwan University - grade Descent 2

University of North China, Berkeley University of California, etc. | Domain Adaptive Text Classification with structural Knowledge from unlabeled data

Icml2022 | robust task representation for off-line meta reinforcement learning based on contrastive learning
随机推荐
Use bcryptjs to encrypt the password
JWT implementation
[tutorial] build librephotos using Tencent cloud lightweight application server to support photo management of face recognition!
Digital transformation solution for supply chain platform of mechanical equipment industry
New high-speed random graph API interface, the first sci-fi graph API interface
Configuring error sets using MySQL for Ubuntu 20.04.4 LTS
Open source C # WPF control library -newbeecoder UI usage guide (I)
Code implementation of CAD drawing online web measurement tool (measuring distance, area, angle, etc.)
Basic concepts and common methods of syntactic dependency analysis
Improve efficiency, take you to batch generate 100 ID photos with QR code
Completely open source and permanently free, this markdown editor is really fragrant!
Activiti practice
什么是股票线上开户?手机开户安全么?
[open source]goravel, a fully functional and extensible golang web application framework
德国弗莱堡大学、希尔德斯海姆大学等联合 | Zero-Shot AutoML with Pretrained Models(基于预训练模型的零样本AutoML)
Intel openvino tool suite advanced course & experiment operation record and learning summary
Apt attack
Detailed explanation of logical structure, physical structure and data operation
使用 Provider 改造屎一样的代码,代码量降低了2/3!
Raid card with hardware knowledge (5)