当前位置:网站首页>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"
边栏推荐
- Tencent cloud server ubuntu18 installs MySQL and logs in remotely
- Code implementation of CAD drawing online web measurement tool (measuring distance, area, angle, etc.)
- How to defend the security importance of API gateway
- What do you know about the 15 entry-level applets
- Improve efficiency, take you to batch generate 100 ID photos with QR code
- How to batch generate video QR code
- CAD图在线Web测量工具代码实现(测量距离、面积、角度等)
- Using barcode software to make certificates
- Tencent cloud database tdsql elite challenge Q & A (real-time update)
- Introduction to scikit learn machine learning practice
猜你喜欢

从CVPR 2022看域泛化(Domain Generalization)最新研究进展

How to improve the content quality of short video, these four elements must be achieved

How to use the serial port assistant in STC ISP?

HDLBits->Circuits->Arithmetic Circuitd->3-bit binary adder

Polar cycle graph and polar fan graph of high order histogram

Sending network request in wechat applet

MySQL de duplication query only keeps one latest record

Using the provider to transform the shit like code, the amount of code is reduced by 2/3!

Code implementation of CAD drawing online web measurement tool (measuring distance, area, angle, etc.)

Error running PyUIC: Cannot start process, the working directory ‘-m PyQt5. uic. pyuic register. ui -o
随机推荐
University of North China, Berkeley University of California, etc. | Domain Adaptive Text Classification with structural Knowledge from unlabeled data
ACL2022 | MVR:面向开放域检索的多视角文档表征
Bi SQL constraints
Tencent cloud database tdsql elite challenge Q & A (real-time update)
How to configure Nessus vulnerability scanning policy?
Improve efficiency, take you to batch generate 100 ID photos with QR code
Devops sharing: how to hold the meeting?
微信小程序中发送网络请求
What if the fortress remote access server fails? What are the reasons why the fortress computer fails to connect to the server?
Meaning of the last seven digits of wider face
[tutorial] build a personal email system using Tencent lightweight cloud
How ppt creates a visual chart
What is dynamic registration? What is static registration?
Use bcryptjs to encrypt the password
v-chart
What do you know about the 15 entry-level applets
BenchCLAMP:评估语义分析语言模型的基准
How the API gateway obtains the URI path and how the API handles local access failure
Cloud native practice of meituan cluster scheduling system
How do API gateways set up dynamic routing? What are the benefits of dynamic routing?