《获取Windows中的当前时区列表》

目录

前言

操作符如下

展示效果

附:


前言

今天做SSD4实验的时候,需要在Qt中导入时区的数据,于是想要调用Windows中的时区数据。可惜没有找到这样一个API可以让我直接调用,但是找到了一个在cmd中使用的操作符,可以直接在cmd中打印出来当前时区列表。

操作符如下

请在命令提示符下使用:

win+R输入cmd回车进入cmd

然后输入这行代码即可

tzutil /l

展示效果

附:

懒得找可以直接复制我的时区数据。

(UTC-12:00) 国际日期变更线西
Dateline Standard Time

(UTC-11:00) 协调世界时-11
UTC-11

(UTC-10:00) 阿留申群岛
Aleutian Standard Time

(UTC-10:00) 夏威夷
Hawaiian Standard Time

(UTC-09:30) 马克萨斯群岛
Marquesas Standard Time

(UTC-09:00) 阿拉斯加
Alaskan Standard Time

(UTC-09:00) 协调世界时-09
UTC-09

(UTC-08:00) 太平洋时间(美国和加拿大)
Pacific Standard Time

(UTC-08:00) 下加利福尼亚州
Pacific Standard Time (Mexico)

(UTC-08:00) 协调世界时-08
UTC-08

(UTC-07:00) 奇瓦瓦,拉巴斯,马萨特兰
Mountain Standard Time (Mexico)

(UTC-07:00) 山地时间(美国和加拿大)
Mountain Standard Time

(UTC-07:00) 亚利桑那
US Mountain Standard Time

(UTC-07:00) 育空
Yukon Standard Time

(UTC-06:00) 复活节岛
Easter Island Standard Time

(UTC-06:00) 瓜达拉哈拉,墨西哥城,蒙特雷
Central Standard Time (Mexico)

(UTC-06:00) 萨斯喀彻温
Canada Central Standard Time

(UTC-06:00) 中部时间(美国和加拿大)
Central Standard Time

(UTC-06:00) 中美洲
Central America Standard Time

(UTC-05:00) 波哥大,利马,基多,里奥布朗库
SA Pacific Standard Time

(UTC-05:00) 东部时间(美国和加拿大)
Eastern Standard Time

(UTC-05:00) 哈瓦那
Cuba Standard Time

(UTC-05:00) 海地
Haiti Standard Time

(UTC-05:00) 切图马尔
Eastern Standard Time (Mexico)

(UTC-05:00) 特克斯和凯科斯群岛
Turks And Caicos Standard Time

(UTC-05:00) 印地安那州(东部)
US Eastern Standard Time

(UTC-04:00) 大西洋时间(加拿大)
Atlantic Standard Time

(UTC-04:00) 加拉加斯
Venezuela Standard Time

(UTC-04:00) 库亚巴
Central Brazilian Standard Time

(UTC-04:00) 乔治敦,拉巴斯,马瑙斯,圣胡安
SA Western Standard Time

(UTC-04:00) 圣地亚哥
Pacific SA Standard Time

(UTC-04:00) 亚松森
Paraguay Standard Time

(UTC-03:30) 纽芬兰
Newfoundland Standard Time

(UTC-03:00) 阿拉瓜伊纳
Tocantins Standard Time

(UTC-03:00) 巴西利亚
E. South America Standard Time

(UTC-03:00) 布宜诺斯艾利斯
Argentina Standard Time

(UTC-03:00) 格陵兰
Greenland Standard Time

(UTC-03:00) 卡宴,福塔雷萨
SA Eastern Standard Time

(UTC-03:00) 蒙得维的亚
Montevideo Standard Time

(UTC-03:00) 蓬塔阿雷纳斯
Magallanes Standard Time

(UTC-03:00) 萨尔瓦多
Bahia Standard Time

(UTC-03:00) 圣皮埃尔和密克隆群岛
Saint Pierre Standard Time

(UTC-02:00) 协调世界时-02
UTC-02

(UTC-01:00) 佛得角群岛
Cape Verde Standard Time

(UTC-01:00) 亚速尔群岛
Azores Standard Time

(UTC) 协调世界时
UTC

(UTC+00:00) 都柏林,爱丁堡,里斯本,伦敦
GMT Standard Time

(UTC+00:00) 蒙罗维亚,雷克雅未克
Greenwich Standard Time

(UTC+00:00) 圣多美
Sao Tome Standard Time

(UTC+01:00) 卡萨布兰卡
Morocco Standard Time

(UTC+01:00) 阿姆斯特丹,柏林,伯尔尼,罗马,斯德哥尔摩,维也纳
W. Europe Standard Time

(UTC+01:00) 贝尔格莱德,布拉迪斯拉发,布达佩斯,卢布尔雅那,布拉格
Central Europe Standard Time

(UTC+01:00) 布鲁塞尔,哥本哈根,马德里,巴黎
Romance Standard Time

(UTC+01:00) 萨拉热窝,斯科普里,华沙,萨格勒布
Central European Standard Time

(UTC+01:00) 中非西部
W. Central Africa Standard Time

(UTC+02:00) 安曼
Jordan Standard Time

(UTC+02:00) 贝鲁特
Middle East Standard Time

(UTC+02:00) 大马士革
Syria Standard Time

(UTC+02:00) 的黎波里
Libya Standard Time

(UTC+02:00) 哈拉雷,比勒陀利亚
South Africa Standard Time

(UTC+02:00) 赫尔辛基,基辅,里加,索非亚,塔林,维尔纽斯
FLE Standard Time

(UTC+02:00) 基希讷乌
E. Europe Standard Time

(UTC+02:00) 加里宁格勒
Kaliningrad Standard Time

(UTC+02:00) 加沙,希伯伦
West Bank Standard Time

(UTC+02:00) 喀土穆
Sudan Standard Time

(UTC+02:00) 开罗
Egypt Standard Time

(UTC+02:00) 温得和克
Namibia Standard Time

(UTC+02:00) 雅典,布加勒斯特
GTB Standard Time

(UTC+02:00) 耶路撒冷
Israel Standard Time

(UTC+02:00) 朱巴
South Sudan Standard Time

(UTC+03:00) 巴格达
Arabic Standard Time

(UTC+03:00) 伏尔加格勒
Volgograd Standard Time

(UTC+03:00) 科威特,利雅得
Arab Standard Time

(UTC+03:00) 明斯克
Belarus Standard Time

(UTC+03:00) 莫斯科,圣彼得堡
Russian Standard Time

(UTC+03:00) 内罗毕
E. Africa Standard Time

(UTC+03:00) 伊斯坦布尔
Turkey Standard Time

(UTC+03:30) 德黑兰
Iran Standard Time

(UTC+04:00) 阿布扎比,马斯喀特
Arabian Standard Time

(UTC+04:00) 阿斯特拉罕,乌里扬诺夫斯克
Astrakhan Standard Time

(UTC+04:00) 埃里温
Caucasus Standard Time

(UTC+04:00) 巴库
Azerbaijan Standard Time

(UTC+04:00) 第比利斯
Georgian Standard Time

(UTC+04:00) 路易港
Mauritius Standard Time

(UTC+04:00) 萨拉托夫
Saratov Standard Time

(UTC+04:00) 伊热夫斯克,萨马拉
Russia Time Zone 3

(UTC+04:30) 喀布尔
Afghanistan Standard Time

(UTC+05:00) 阿什哈巴德,塔什干
West Asia Standard Time

(UTC+05:00) 克孜洛尔达
Qyzylorda Standard Time

(UTC+05:00) 叶卡捷琳堡
Ekaterinburg Standard Time

(UTC+05:00) 伊斯兰堡,卡拉奇
Pakistan Standard Time

(UTC+05:30) 钦奈,加尔各答,孟买,新德里
India Standard Time

(UTC+05:30) 斯里加亚渥登普拉
Sri Lanka Standard Time

(UTC+05:45) 加德满都
Nepal Standard Time

(UTC+06:00) 阿斯塔纳
Central Asia Standard Time

(UTC+06:00) 达卡
Bangladesh Standard Time

(UTC+06:00) 鄂木斯克
Omsk Standard Time

(UTC+06:30) 仰光
Myanmar Standard Time

(UTC+07:00) 巴尔瑙尔,戈尔诺-阿尔泰斯克
Altai Standard Time

(UTC+07:00) 科布多
W. Mongolia Standard Time

(UTC+07:00) 克拉斯诺亚尔斯克
North Asia Standard Time

(UTC+07:00) 曼谷,河内,雅加达
SE Asia Standard Time

(UTC+07:00) 托木斯克
Tomsk Standard Time

(UTC+07:00) 新西伯利亚
N. Central Asia Standard Time

(UTC+08:00) 北京,重庆,香港特别行政区,乌鲁木齐
China Standard Time

(UTC+08:00) 吉隆坡,新加坡
Singapore Standard Time

(UTC+08:00) 珀斯
W. Australia Standard Time

(UTC+08:00) 台北
Taipei Standard Time

(UTC+08:00) 乌兰巴托
Ulaanbaatar Standard Time

(UTC+08:00) 伊尔库茨克
North Asia East Standard Time

(UTC+08:45) 尤克拉
Aus Central W. Standard Time

(UTC+09:00) 赤塔市
Transbaikal Standard Time

(UTC+09:00) 大阪,札幌,东京
Tokyo Standard Time

(UTC+09:00) 平壤
North Korea Standard Time

(UTC+09:00) 首尔
Korea Standard Time

(UTC+09:00) 雅库茨克
Yakutsk Standard Time

(UTC+09:30) 阿德莱德
Cen. Australia Standard Time

(UTC+09:30) 达尔文
AUS Central Standard Time

(UTC+10:00) 布里斯班
E. Australia Standard Time

(UTC+10:00) 符拉迪沃斯托克
Vladivostok Standard Time

(UTC+10:00) 关岛,莫尔兹比港
West Pacific Standard Time

(UTC+10:00) 霍巴特
Tasmania Standard Time

(UTC+10:00) 堪培拉,墨尔本,悉尼
AUS Eastern Standard Time

(UTC+10:30) 豪勋爵岛
Lord Howe Standard Time

(UTC+11:00) 布干维尔岛
Bougainville Standard Time

(UTC+11:00) 马加丹
Magadan Standard Time

(UTC+11:00) 诺福克岛
Norfolk Standard Time

(UTC+11:00) 乔库尔达赫
Russia Time Zone 10

(UTC+11:00) 萨哈林
Sakhalin Standard Time

(UTC+11:00) 所罗门群岛,新喀里多尼亚
Central Pacific Standard Time

(UTC+12:00) 阿纳德尔,堪察加彼得罗巴甫洛夫斯克
Russia Time Zone 11

(UTC+12:00) 奥克兰,惠灵顿
New Zealand Standard Time

(UTC+12:00) 斐济
Fiji Standard Time

(UTC+12:00) 协调世界时+12
UTC+12

(UTC+12:45) 查塔姆群岛
Chatham Islands Standard Time

(UTC+13:00) 努库阿洛法
Tonga Standard Time

(UTC+13:00) 萨摩亚群岛
Samoa Standard Time

(UTC+13:00) 协调世界时+13
UTC+13

(UTC+14:00) 圣诞岛
Line Islands Standard Time

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值