Aller au contenu

WBS: Changer la TimeZone via Script

Bon rapide et efficace

Un exemple :

  • TZUTIL /s "Romance Standard Time"

Cela nous configure la timezone  (UTC+01:00) Bruxelles, Copenhague, Madrid, Paris

  • TZUTIL /s "US Mountain Standard Time"
Cela nous configure la timezone (UTC-07:00) Arizona Si vous souhaitez utiliser le paramètre /g vous aurez besoin de l'ID que vous retrouverez avec la commande tzutil /l

Voici ce que cela nous donne :

(UTC-12:00) Ligne de date internationale (Ouest) 
Dateline Standard Time

(UTC-11:00) Temps universel coordonn‚-11 
UTC-11

(UTC-10:00) Hawaii 
Hawaiian Standard Time

(UTC-10:00) ×les Al‚outiennes 
Aleutian Standard Time

(UTC-09:30) ×les Marquises 
Marquesas Standard Time

(UTC-09:00) Alaska 
Alaskan Standard Time

(UTC-09:00) Temps universel coordonn‚-09 
UTC-09

(UTC-08:00) Basse Californie 
Pacific Standard Time (Mexico)

(UTC-08:00) Pacifique (.-U. et Canada) 
Pacific Standard Time

(UTC-08:00) Temps universel coordonn‚-08 
UTC-08

(UTC-07:00) Arizona 
US Mountain Standard Time

(UTC-07:00) Chihuahua, La Paz, Mazatlan 
Mountain Standard Time (Mexico)

(UTC-07:00) Montagnes Rocheuses (.-U. et Canada) 
Mountain Standard Time

(UTC-06:00) Am‚rique centrale 
Central America Standard Time

(UTC-06:00) Centre (.-U. et Canada) 
Central Standard Time

(UTC-06:00) Guadalajara, Mexico, Monterrey 
Central Standard Time (Mexico)

(UTC-06:00) ×le de Pƒques 
Easter Island Standard Time

(UTC-06:00) Saskatchewan 
Canada Central Standard Time

(UTC-05:00) Bogota, Lima, Quito, Rio Branco 
SA Pacific Standard Time

(UTC-05:00) Chetumal 
Eastern Standard Time (Mexico)

(UTC-05:00) Est (.-U. et Canada) 
Eastern Standard Time

(UTC-05:00) Ha‹ti 
Haiti Standard Time

(UTC-05:00) Havane (La) 
Cuba Standard Time

(UTC-05:00) Indiana (Est) 
US Eastern Standard Time

(UTC-04:00) Asunci¢n 
Paraguay Standard Time

(UTC-04:00) Caracas 
Venezuela Standard Time

(UTC-04:00) Cuiaba 
Central Brazilian Standard Time

(UTC-04:00) Georgetown, La Paz, Manaus, San Juan 
SA Western Standard Time

(UTC-04:00) Heure Atlantique (Canada) 
Atlantic Standard Time

(UTC-04:00) ×les Turques-et-Ca‹ques 
Turks And Caicos Standard Time

(UTC-04:00) Santiago 
Pacific SA Standard Time

(UTC-03:30) Terre-Neuve-et-Labrador 
Newfoundland Standard Time

(UTC-03:00) Aragua¡na 
Tocantins Standard Time

(UTC-03:00) Brasilia 
E. South America Standard Time

(UTC-03:00) Buenos Aires 
Argentina Standard Time

(UTC-03:00) Cayenne, Fortaleza 
SA Eastern Standard Time

(UTC-03:00) Groenland 
Greenland Standard Time

(UTC-03:00) Montevideo 
Montevideo Standard Time

(UTC-03:00) Saint-Pierre-et-Miquelon 
Saint Pierre Standard Time

(UTC-03:00) Salvador 
Bahia Standard Time

(UTC-02:00) Temps universel coordonn‚-02 
UTC-02

(UTC-01:00) ×les du Cap-Vert 
Cape Verde Standard Time

(UTC-01:00) Les A‡ores 
Azores Standard Time

(UTC) Temps universel coordonn‚ 
UTC

(UTC+00:00) Casablanca 
Morocco Standard Time

(UTC+00:00) Dublin, dimbourg, Lisbonne, Londres 
GMT Standard Time

(UTC+00:00) Monrovia, Reykjavik 
Greenwich Standard Time

(UTC+01:00) Afrique centrale - Ouest 
W. Central Africa Standard Time

(UTC+01:00) Amsterdam, Berlin, Berne, Rome, Stockholm, Vienne 
W. Europe Standard Time

(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague 
Central Europe Standard Time

(UTC+01:00) Bruxelles, Copenhague, Madrid, Paris 
Romance Standard Time

(UTC+01:00) Sarajevo, Skopje, Varsovie, Zagreb 
Central European Standard Time

(UTC+01:00) Windhoek 
Namibia Standard Time

(UTC+02:00) Amman 
Jordan Standard Time

(UTC+02:00) AthŠnes, Bucarest 
GTB Standard Time

(UTC+02:00) Beyrouth 
Middle East Standard Time

(UTC+02:00) Chisinau 
E. Europe Standard Time

(UTC+02:00) Damas 
Syria Standard Time

(UTC+02:00) Gaza, H‚bron 
West Bank Standard Time

(UTC+02:00) Harare, Pretoria 
South Africa Standard Time

(UTC+02:00) Helsinki, Kiev, Riga, Sofia, Tallinn, Vilnius 
FLE Standard Time

(UTC+02:00) Istanbul 
Turkey Standard Time

(UTC+02:00) J‚rusalem 
Israel Standard Time

(UTC+02:00) Kaliningrad 
Kaliningrad Standard Time

(UTC+02:00) Le Caire 
Egypt Standard Time

(UTC+02:00) Tripoli 
Libya Standard Time

(UTC+03:00) Bagdad 
Arabic Standard Time

(UTC+03:00) Kowe‹t, Riyad 
Arab Standard Time

(UTC+03:00) Minsk 
Belarus Standard Time

(UTC+03:00) Moscou, Saint-P‚tersbourg, Volgograd 
Russian Standard Time

(UTC+03:00) Nairobi 
E. Africa Standard Time

(UTC+03:30) T‚h‚ran 
Iran Standard Time

(UTC+04:00) Abu Dhabi, Muscat 
Arabian Standard Time

(UTC+04:00) Astrakhan, Oulianovsk 
Astrakhan Standard Time

(UTC+04:00) Bakou 
Azerbaijan Standard Time

(UTC+04:00) Erevan 
Caucasus Standard Time

(UTC+04:00) Izhevsk, Samara 
Russia Time Zone 3

(UTC+04:00) Port Louis 
Mauritius Standard Time

(UTC+04:00) Tbilissi 
Georgian Standard Time

(UTC+04:30) Kaboul 
Afghanistan Standard Time

(UTC+05:00) Achgabat, Tachkent 
West Asia Standard Time

(UTC+05:00) Iekaterinbourg 
Ekaterinburg Standard Time

(UTC+05:00) Islamabad, Karachi 
Pakistan Standard Time

(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi 
India Standard Time

(UTC+05:30) Sri Jayawardenepura 
Sri Lanka Standard Time

(UTC+05:45) Katmandou 
Nepal Standard Time

(UTC+06:00) Astana 
Central Asia Standard Time

(UTC+06:00) Dhaka 
Bangladesh Standard Time

(UTC+06:00) Novossibirsk 
N. Central Asia Standard Time

(UTC+06:30) Rangoon 
Myanmar Standard Time

(UTC+07:00) Bangkok, Hanoi, Djakarta 
SE Asia Standard Time

(UTC+07:00) Barnaoul, Gorno-Alta‹sk 
Altai Standard Time

(UTC+07:00) Hovd 
W. Mongolia Standard Time

(UTC+07:00) Krasno‹arsk 
North Asia Standard Time

(UTC+07:00) Tomsk 
Tomsk Standard Time

(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi 
China Standard Time

(UTC+08:00) Irkoutsk 
North Asia East Standard Time

(UTC+08:00) Kuala Lumpur, Singapour 
Singapore Standard Time

(UTC+08:00) Oulan-Bator 
Ulaanbaatar Standard Time

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

(UTC+08:00) Taipei 
Taipei Standard Time

(UTC+08:30) Pyongyang 
North Korea Standard Time

(UTC+08:45) Eucla 
Aus Central W. Standard Time

(UTC+09:00) Chita 
Transbaikal Standard Time

(UTC+09:00) Iakoutsk 
Yakutsk Standard Time

(UTC+09:00) Osaka, Sapporo, Tokyo 
Tokyo Standard Time

(UTC+09:00) S‚oul 
Korea Standard Time

(UTC+09:30) Ad‚la‹de 
Cen. Australia Standard Time

(UTC+09:30) Darwin 
AUS Central Standard Time

(UTC+10:00) Brisbane 
E. Australia Standard Time

(UTC+10:00) Canberra, Melbourne, Sydney 
AUS Eastern Standard Time

(UTC+10:00) Guam, Port Moresby 
West Pacific Standard Time

(UTC+10:00) Hobart 
Tasmania Standard Time

(UTC+10:00) Vladivostok 
Vladivostok Standard Time

(UTC+10:30) ×le Lord Howe 
Lord Howe Standard Time

(UTC+11:00) Chokurdakh 
Russia Time Zone 10

(UTC+11:00) ×le Bougainville 
Bougainville Standard Time

(UTC+11:00) ×le Norfolk 
Norfolk Standard Time

(UTC+11:00) ×les Salomon, Nouvelle-Cal‚donie 
Central Pacific Standard Time

(UTC+11:00) Magadan 
Magadan Standard Time

(UTC+11:00) Sakhaline 
Sakhalin Standard Time

(UTC+12:00) Anadyr, Petropavlovsk-Kamtchatski 
Russia Time Zone 11

(UTC+12:00) Auckland, Wellington 
New Zealand Standard Time

(UTC+12:00) Fidji 
Fiji Standard Time

(UTC+12:00) Temps universel coordonn‚+12 
UTC+12

(UTC+12:45) ×les Chatham 
Chatham Islands Standard Time

(UTC+13:00) Nuku'alofa 
Tonga Standard Time

(UTC+13:00) Samoa 
Samoa Standard Time

(UTC+14:00) Kiritimati, ×le 
Line Islands Standard Time

Source & aide supplémentaire 

https://msdn.microsoft.com/fr-fr/library/hh875624(v=ws.10).aspx

Étiquettes:

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *