当前位置:网站首页>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"
边栏推荐
- 从CVPR 2022看域泛化(Domain Generalization)最新研究进展
- Cloud native practice of meituan cluster scheduling system
- Using the provider to transform the shit like code, the amount of code is reduced by 2/3!
- A batch layout WAF script for extraordinary dishes
- 2021-12-19: find the missing numbers in all arrays. Give you an n
- How to improve the high concurrency of the server
- 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
- TDD development mode recommendation process
- Introduction to scikit learn machine learning practice
- Take you to understand the working process of the browser
猜你喜欢

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

《阿里云天池大赛赛题解析》——O2O优惠卷预测

Introduction to scikit learn machine learning practice

ICML2022 | 基于对比学习的离线元强化学习的鲁棒任务表示

Cloud native practice of meituan cluster scheduling system

Sending network request in wechat applet

使用 Provider 改造屎一样的代码,代码量降低了2/3!

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

北大、加州伯克利大学等联合| Domain-Adaptive Text Classification with Structured Knowledge from Unlabeled Data(基于未标记数据的结构化知识的领域自适应文本分类)
Performance optimization of database 5- database, table and data migration
随机推荐
JWT implementation
Start optimization - directed acyclic graph
How API gateway extends the importance of gateway extension
Completely open source and permanently free, this markdown editor is really fragrant!
Flink practical tutorial: advanced 4-window top n
How the API gateway obtains the URI path and how the API handles local access failure
How to build an API gateway and how to maintain an API gateway?
How to do API gateway routing? What are the other functions of API gateway?
How to realize batch generation of serial number QR code
Analysis of Alibaba cloud Tianchi competition -- prediction of o2o coupon
Detailed explanation of redisson distribution lock
To develop AI face comparison, how to output multiple faces with comparative similarity?
Using the provider to transform the shit like code, the amount of code is reduced by 2/3!
How does the fortress remote login server operate? What is the application value of Fortress machine?
Summary of redis Functions PHP version
WordPress plug-in recommendation
After CVM is configured with IPv6, it cannot be accessed as IPv6 or cannot access IPv6 sites
How to batch generate video QR code
The 11th Blue Bridge Cup
Environment construction of go language foundation