Java 入門

ホーム > 日時・タイムゾーンの扱い > タイムゾーン (TimeZone)

タイムゾーン (TimeZone)

タイムゾーン (TimeZone) は java.util.TimeZone を利用すると簡単に扱えます。

それぞれのタイムゾーンを表す ID (文字列) があり、それに対応するタイムゾーン・オブジェクトを取得可能です。 例えば、日本の標準時のタイムゾーンを表す ID は "Asia/Tokyo" ですが、次のように TimeZone クラスの getTimeZone メソッドを用いると、 日本の標準時を表すタイムゾーンオブジェクトを取得できます。

TimeZone tz = TimeZone.getTimeZone("Asia/Tokyo");

こうして取得できたタイムゾーンオブジェクトを元に、次のように SimpleDateFormat 等を利用することで、それぞれのタイムゾーン毎の時刻を表示することが可能です。

public class TimeZoneTest1 {

  public static void main(String[] args) {
    
    TimeZone tz = TimeZone.getTimeZone("Asia/Tokyo");
    SimpleDateFormat sdf = new SimpleDateFormat("MMMMM dd, yyyy HH:mm");
    sdf.setTimeZone(tz);
    System.out.println(sdf.format(new Date()));
    
  }

}

この実行結果は次のようになります。

October 04, 2010 09:09

尚、これを実行したのはロサンゼルスのローカル時刻で2010年10月3日17時9分です。

利用可能なタイムゾーン ID の取得

タイムゾーン ID として何が利用可能なのでしょうか。利用可能なタイムゾーン ID を取得するために、TimeZone.getAvailableIDs メソッドが利用できます。 このメソッドは利用可能なタイムゾーン ID の文字列の配列 (String[]) を返します。

このメソッドで、全てのタイムゾーンの時間をプリントするプログラムを作ると次のようになります。

import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.TimeZone;


public class TimeZoneTest1 {

  public static void main(String[] args) {

    Date now = new Date();

    for(String tzid : TimeZone.getAvailableIDs()){
      System.out.println(TimeZoneTest1.getTimeText(now, tzid));
    }
  }
  
  public static String getTimeText(Date date, String timezoneID){
    TimeZone tz = TimeZone.getTimeZone(timezoneID);
    SimpleDateFormat sdf = new SimpleDateFormat("MM/dd/yyyy HH:mm:ss");
    sdf.setTimeZone(tz);
    return sdf.format(date"[" + tz.getDisplayName() ", " + timezoneID + "]";
  }

}

実行結果は次の通りです。

10/03/2010 12:48:52[GMT-12:00, Etc/GMT+12]
10/03/2010 13:48:52[GMT-11:00, Etc/GMT+11]
10/03/2010 13:48:52[West Samoa Time, MIT]
10/03/2010 13:48:52[West Samoa Time, Pacific/Apia]
10/03/2010 13:48:52[Samoa Standard Time, Pacific/Midway]
10/03/2010 13:48:52[Niue Time, Pacific/Niue]
10/03/2010 13:48:52[Samoa Standard Time, Pacific/Pago_Pago]
10/03/2010 13:48:52[Samoa Standard Time, Pacific/Samoa]
10/03/2010 13:48:52[Samoa Standard Time, US/Samoa]
10/03/2010 15:48:52[Hawaii-Aleutian Standard Time, America/Adak]
10/03/2010 15:48:52[Hawaii-Aleutian Standard Time, America/Atka]
10/03/2010 14:48:52[GMT-10:00, Etc/GMT+10]
10/03/2010 14:48:52[Hawaii Standard Time, HST]
10/03/2010 14:48:52[Tokelau Time, Pacific/Fakaofo]
10/03/2010 14:48:52[Hawaii Standard Time, Pacific/Honolulu]
10/03/2010 14:48:52[Hawaii Standard Time, Pacific/Johnston]
10/03/2010 14:48:52[Cook Is. Time, Pacific/Rarotonga]
10/03/2010 14:48:52[Tahiti Time, Pacific/Tahiti]
10/03/2010 14:48:52[Hawaii Standard Time, SystemV/HST10]
10/03/2010 15:48:52[Hawaii-Aleutian Standard Time, US/Aleutian]
10/03/2010 14:48:52[Hawaii Standard Time, US/Hawaii]
10/03/2010 15:18:52[Marquesas Time, Pacific/Marquesas]
10/03/2010 16:48:52[Alaska Standard Time, AST]
10/03/2010 16:48:52[Alaska Standard Time, America/Anchorage]
10/03/2010 16:48:52[Alaska Standard Time, America/Juneau]
10/03/2010 16:48:52[Alaska Standard Time, America/Nome]
10/03/2010 16:48:52[Alaska Standard Time, America/Yakutat]
10/03/2010 15:48:52[GMT-09:00, Etc/GMT+9]
10/03/2010 15:48:52[Gambier Time, Pacific/Gambier]
10/03/2010 15:48:52[Alaska Standard Time, SystemV/YST9]
10/03/2010 16:48:52[Alaska Standard Time, SystemV/YST9YDT]
10/03/2010 16:48:52[Alaska Standard Time, US/Alaska]
10/03/2010 17:48:52[Pacific Standard Time, America/Dawson]
10/03/2010 17:48:52[Pacific Standard Time, America/Ensenada]
10/03/2010 17:48:52[Pacific Standard Time, America/Los_Angeles]
10/03/2010 17:48:52[Pacific Standard Time, America/Santa_Isabel]
10/03/2010 17:48:52[Pacific Standard Time, America/Tijuana]
10/03/2010 17:48:52[Pacific Standard Time, America/Vancouver]
10/03/2010 17:48:52[Pacific Standard Time, America/Whitehorse]
10/03/2010 17:48:52[Pacific Standard Time, Canada/Pacific]
10/03/2010 17:48:52[Pacific Standard Time, Canada/Yukon]
10/03/2010 16:48:52[GMT-08:00, Etc/GMT+8]
10/03/2010 17:48:52[Pacific Standard Time, Mexico/BajaNorte]
10/03/2010 17:48:52[Pacific Standard Time, PST]
10/03/2010 17:48:52[Pacific Standard Time, PST8PDT]
10/03/2010 16:48:52[Pitcairn Standard Time, Pacific/Pitcairn]
10/03/2010 16:48:52[Pacific Standard Time, SystemV/PST8]
10/03/2010 17:48:52[Pacific Standard Time, SystemV/PST8PDT]
10/03/2010 17:48:52[Pacific Standard Time, US/Pacific]
10/03/2010 17:48:52[Pacific Standard Time, US/Pacific-New]
10/03/2010 18:48:52[Mountain Standard Time, America/Boise]
10/03/2010 18:48:52[Mountain Standard Time, America/Cambridge_Bay]
10/03/2010 18:48:52[Mountain Standard Time, America/Chihuahua]
10/03/2010 17:48:52[Mountain Standard Time, America/Dawson_Creek]
10/03/2010 18:48:52[Mountain Standard Time, America/Denver]
10/03/2010 18:48:52[Mountain Standard Time, America/Edmonton]
10/03/2010 17:48:52[Mountain Standard Time, America/Hermosillo]
10/03/2010 18:48:52[Mountain Standard Time, America/Inuvik]
10/03/2010 18:48:52[Mountain Standard Time, America/Mazatlan]
10/03/2010 18:48:52[Mountain Standard Time, America/Ojinaga]
10/03/2010 17:48:52[Mountain Standard Time, America/Phoenix]
10/03/2010 18:48:52[Mountain Standard Time, America/Shiprock]
10/03/2010 18:48:52[Mountain Standard Time, America/Yellowknife]
10/03/2010 18:48:52[Mountain Standard Time, Canada/Mountain]
10/03/2010 17:48:52[GMT-07:00, Etc/GMT+7]
10/03/2010 17:48:52[Mountain Standard Time, MST]
10/03/2010 18:48:52[Mountain Standard Time, MST7MDT]
10/03/2010 18:48:52[Mountain Standard Time, Mexico/BajaSur]
10/03/2010 18:48:52[Mountain Standard Time, Navajo]
10/03/2010 17:48:52[Mountain Standard Time, PNT]
10/03/2010 17:48:52[Mountain Standard Time, SystemV/MST7]
10/03/2010 18:48:52[Mountain Standard Time, SystemV/MST7MDT]
10/03/2010 17:48:52[Mountain Standard Time, US/Arizona]
10/03/2010 18:48:52[Mountain Standard Time, US/Mountain]
10/03/2010 18:48:52[Central Standard Time, America/Belize]
10/03/2010 19:48:52[Central Standard Time, America/Cancun]
10/03/2010 19:48:52[Central Standard Time, America/Chicago]
10/03/2010 18:48:52[Central Standard Time, America/Costa_Rica]
10/03/2010 18:48:52[Central Standard Time, America/El_Salvador]
10/03/2010 18:48:52[Central Standard Time, America/Guatemala]
10/03/2010 19:48:52[Central Standard Time, America/Indiana/Knox]
10/03/2010 19:48:52[Central Standard Time, America/Indiana/Tell_City]
10/03/2010 19:48:52[Central Standard Time, America/Knox_IN]
10/03/2010 18:48:52[Central Standard Time, America/Managua]
10/03/2010 19:48:52[Central Standard Time, America/Matamoros]
10/03/2010 19:48:52[Central Standard Time, America/Menominee]
10/03/2010 19:48:52[Central Standard Time, America/Merida]
10/03/2010 19:48:52[Central Standard Time, America/Mexico_City]
10/03/2010 19:48:52[Central Standard Time, America/Monterrey]
10/03/2010 19:48:52[Central Standard Time, America/North_Dakota/Center]
10/03/2010 19:48:52[Central Standard Time, America/North_Dakota/New_Salem]
10/03/2010 19:48:52[Central Standard Time, America/Rainy_River]
10/03/2010 19:48:52[Central Standard Time, America/Rankin_Inlet]
10/03/2010 18:48:52[Central Standard Time, America/Regina]
10/03/2010 18:48:52[Central Standard Time, America/Swift_Current]
10/03/2010 18:48:52[Central Standard Time, America/Tegucigalpa]
10/03/2010 19:48:52[Central Standard Time, America/Winnipeg]
10/03/2010 19:48:52[Central Standard Time, CST]
10/03/2010 19:48:52[Central Standard Time, CST6CDT]
10/03/2010 19:48:52[Central Standard Time, Canada/Central]
10/03/2010 18:48:52[Central Standard Time, Canada/East-Saskatchewan]
10/03/2010 18:48:52[Central Standard Time, Canada/Saskatchewan]
10/03/2010 18:48:52[Easter Is. Time, Chile/EasterIsland]
10/03/2010 18:48:52[GMT-06:00, Etc/GMT+6]
10/03/2010 19:48:52[Central Standard Time, Mexico/General]
10/03/2010 18:48:52[Easter Is. Time, Pacific/Easter]
10/03/2010 18:48:52[Galapagos Time, Pacific/Galapagos]
10/03/2010 18:48:52[Central Standard Time, SystemV/CST6]
10/03/2010 19:48:52[Central Standard Time, SystemV/CST6CDT]
10/03/2010 19:48:52[Central Standard Time, US/Central]
10/03/2010 19:48:52[Central Standard Time, US/Indiana-Starke]
10/03/2010 19:48:52[Eastern Standard Time, America/Atikokan]
10/03/2010 19:48:52[Colombia Time, America/Bogota]
10/03/2010 19:48:52[Eastern Standard Time, America/Cayman]
10/03/2010 19:48:52[Eastern Standard Time, America/Coral_Harbour]
10/03/2010 20:48:52[Eastern Standard Time, America/Detroit]
10/03/2010 20:48:52[Eastern Standard Time, America/Fort_Wayne]
10/03/2010 20:48:52[Eastern Standard Time, America/Grand_Turk]
10/03/2010 19:48:52[Ecuador Time, America/Guayaquil]
10/03/2010 20:48:52[Cuba Standard Time, America/Havana]
10/03/2010 20:48:52[Eastern Standard Time, America/Indiana/Indianapolis]
10/03/2010 20:48:52[Eastern Standard Time, America/Indiana/Marengo]
10/03/2010 20:48:52[Eastern Standard Time, America/Indiana/Petersburg]
10/03/2010 20:48:52[Eastern Standard Time, America/Indiana/Vevay]
10/03/2010 20:48:52[Eastern Standard Time, America/Indiana/Vincennes]
10/03/2010 20:48:52[Eastern Standard Time, America/Indiana/Winamac]
10/03/2010 20:48:52[Eastern Standard Time, America/Indianapolis]
10/03/2010 20:48:52[Eastern Standard Time, America/Iqaluit]
10/03/2010 19:48:52[Eastern Standard Time, America/Jamaica]
10/03/2010 20:48:52[Eastern Standard Time, America/Kentucky/Louisville]
10/03/2010 20:48:52[Eastern Standard Time, America/Kentucky/Monticello]
10/03/2010 19:48:52[Peru Time, America/Lima]
10/03/2010 20:48:52[Eastern Standard Time, America/Louisville]
10/03/2010 20:48:52[Eastern Standard Time, America/Montreal]
10/03/2010 20:48:52[Eastern Standard Time, America/Nassau]
10/03/2010 20:48:52[Eastern Standard Time, America/New_York]
10/03/2010 20:48:52[Eastern Standard Time, America/Nipigon]
10/03/2010 19:48:52[Eastern Standard Time, America/Panama]
10/03/2010 20:48:52[Eastern Standard Time, America/Pangnirtung]
10/03/2010 19:48:52[Eastern Standard Time, America/Port-au-Prince]
10/03/2010 19:48:52[Eastern Standard Time, America/Resolute]
10/03/2010 20:48:52[Eastern Standard Time, America/Thunder_Bay]
10/03/2010 20:48:52[Eastern Standard Time, America/Toronto]
10/03/2010 20:48:52[Eastern Standard Time, Canada/Eastern]
10/03/2010 20:48:52[Cuba Standard Time, Cuba]
10/03/2010 19:48:52[Eastern Standard Time, EST]
10/03/2010 20:48:52[Eastern Standard Time, EST5EDT]
10/03/2010 19:48:52[GMT-05:00, Etc/GMT+5]
10/03/2010 20:48:52[Eastern Standard Time, IET]
10/03/2010 19:48:52[Eastern Standard Time, Jamaica]
10/03/2010 19:48:52[Eastern Standard Time, SystemV/EST5]
10/03/2010 20:48:52[Eastern Standard Time, SystemV/EST5EDT]
10/03/2010 20:48:52[Eastern Standard Time, US/East-Indiana]
10/03/2010 20:48:52[Eastern Standard Time, US/Eastern]
10/03/2010 20:48:52[Eastern Standard Time, US/Michigan]
10/03/2010 20:18:52[Venezuela Time, America/Caracas]
10/03/2010 20:48:52[Atlantic Standard Time, America/Anguilla]
10/03/2010 20:48:52[Atlantic Standard Time, America/Antigua]
10/03/2010 20:48:52[Western Argentine Time, America/Argentina/San_Luis]
10/03/2010 20:48:52[Atlantic Standard Time, America/Aruba]
10/03/2010 20:48:52[Paraguay Time, America/Asuncion]
10/03/2010 20:48:52[Atlantic Standard Time, America/Barbados]
10/03/2010 20:48:52[Atlantic Standard Time, America/Blanc-Sablon]
10/03/2010 20:48:52[Amazon Time, America/Boa_Vista]
10/03/2010 20:48:52[Amazon Time, America/Campo_Grande]
10/03/2010 20:48:52[Amazon Time, America/Cuiaba]
10/03/2010 20:48:52[Atlantic Standard Time, America/Curacao]
10/03/2010 20:48:52[Atlantic Standard Time, America/Dominica]
10/03/2010 20:48:52[Amazon Time, America/Eirunepe]
10/03/2010 21:48:52[Atlantic Standard Time, America/Glace_Bay]
10/03/2010 21:48:52[Atlantic Standard Time, America/Goose_Bay]
10/03/2010 20:48:52[Atlantic Standard Time, America/Grenada]
10/03/2010 20:48:52[Atlantic Standard Time, America/Guadeloupe]
10/03/2010 20:48:52[Guyana Time, America/Guyana]
10/03/2010 21:48:52[Atlantic Standard Time, America/Halifax]
10/03/2010 20:48:52[Bolivia Time, America/La_Paz]
10/03/2010 20:48:52[Amazon Time, America/Manaus]
10/03/2010 20:48:52[Atlantic Standard Time, America/Marigot]
10/03/2010 20:48:52[Atlantic Standard Time, America/Martinique]
10/03/2010 21:48:52[Atlantic Standard Time, America/Moncton]
10/03/2010 20:48:52[Atlantic Standard Time, America/Montserrat]
10/03/2010 20:48:52[Atlantic Standard Time, America/Port_of_Spain]
10/03/2010 20:48:52[Amazon Time, America/Porto_Acre]
10/03/2010 20:48:52[Amazon Time, America/Porto_Velho]
10/03/2010 20:48:52[Atlantic Standard Time, America/Puerto_Rico]
10/03/2010 20:48:52[Amazon Time, America/Rio_Branco]
10/03/2010 20:48:52[Chile Time, America/Santiago]
10/03/2010 20:48:52[Atlantic Standard Time, America/Santo_Domingo]
10/03/2010 20:48:52[Atlantic Standard Time, America/St_Barthelemy]
10/03/2010 20:48:52[Atlantic Standard Time, America/St_Kitts]
10/03/2010 20:48:52[Atlantic Standard Time, America/St_Lucia]
10/03/2010 20:48:52[Atlantic Standard Time, America/St_Thomas]
10/03/2010 20:48:52[Atlantic Standard Time, America/St_Vincent]
10/03/2010 21:48:52[Atlantic Standard Time, America/Thule]
10/03/2010 20:48:52[Atlantic Standard Time, America/Tortola]
10/03/2010 20:48:52[Atlantic Standard Time, America/Virgin]
10/03/2010 20:48:52[Chile Time, Antarctica/Palmer]
10/03/2010 21:48:52[Atlantic Standard Time, Atlantic/Bermuda]
10/03/2010 21:48:52[Falkland Is. Time, Atlantic/Stanley]
10/03/2010 20:48:52[Amazon Time, Brazil/Acre]
10/03/2010 20:48:52[Amazon Time, Brazil/West]
10/03/2010 21:48:52[Atlantic Standard Time, Canada/Atlantic]
10/03/2010 20:48:52[Chile Time, Chile/Continental]
10/03/2010 20:48:52[GMT-04:00, Etc/GMT+4]
10/03/2010 20:48:52[Atlantic Standard Time, PRT]
10/03/2010 20:48:52[Atlantic Standard Time, SystemV/AST4]
10/03/2010 21:48:52[Atlantic Standard Time, SystemV/AST4ADT]
10/03/2010 22:18:52[Newfoundland Standard Time, America/St_Johns]
10/03/2010 22:18:52[Newfoundland Standard Time, CNT]
10/03/2010 22:18:52[Newfoundland Standard Time, Canada/Newfoundland]
10/03/2010 21:48:52[Argentine Time, AGT]
10/03/2010 21:48:52[Brasilia Time, America/Araguaina]
10/03/2010 21:48:52[Argentine Time, America/Argentina/Buenos_Aires]
10/03/2010 21:48:52[Argentine Time, America/Argentina/Catamarca]
10/03/2010 21:48:52[Argentine Time, America/Argentina/ComodRivadavia]
10/03/2010 21:48:52[Argentine Time, America/Argentina/Cordoba]
10/03/2010 21:48:52[Argentine Time, America/Argentina/Jujuy]
10/03/2010 21:48:52[Argentine Time, America/Argentina/La_Rioja]
10/03/2010 21:48:52[Argentine Time, America/Argentina/Mendoza]
10/03/2010 21:48:52[Argentine Time, America/Argentina/Rio_Gallegos]
10/03/2010 21:48:52[Argentine Time, America/Argentina/Salta]
10/03/2010 21:48:52[Argentine Time, America/Argentina/San_Juan]
10/03/2010 21:48:52[Argentine Time, America/Argentina/Tucuman]
10/03/2010 21:48:52[Argentine Time, America/Argentina/Ushuaia]
10/03/2010 21:48:52[Brasilia Time, America/Bahia]
10/03/2010 21:48:52[Brasilia Time, America/Belem]
10/03/2010 21:48:52[Argentine Time, America/Buenos_Aires]
10/03/2010 21:48:52[Argentine Time, America/Catamarca]
10/03/2010 21:48:52[French Guiana Time, America/Cayenne]
10/03/2010 21:48:52[Argentine Time, America/Cordoba]
10/03/2010 21:48:52[Brasilia Time, America/Fortaleza]
10/03/2010 22:48:52[Western Greenland Time, America/Godthab]
10/03/2010 21:48:52[Argentine Time, America/Jujuy]
10/03/2010 21:48:52[Brasilia Time, America/Maceio]
10/03/2010 21:48:52[Argentine Time, America/Mendoza]
10/03/2010 22:48:52[Pierre & Miquelon Standard Time, America/Miquelon]
10/03/2010 22:48:52[Uruguay Time, America/Montevideo]
10/03/2010 21:48:52[Suriname Time, America/Paramaribo]
10/03/2010 21:48:52[Brasilia Time, America/Recife]
10/03/2010 21:48:52[Argentine Time, America/Rosario]
10/03/2010 21:48:52[Brasilia Time, America/Santarem]
10/03/2010 21:48:52[Brasilia Time, America/Sao_Paulo]
10/03/2010 21:48:52[Rothera Time, Antarctica/Rothera]
10/03/2010 21:48:52[Brasilia Time, BET]
10/03/2010 21:48:52[Brasilia Time, Brazil/East]
10/03/2010 21:48:52[GMT-03:00, Etc/GMT+3]
10/03/2010 22:48:52[Fernando de Noronha Time, America/Noronha]
10/03/2010 22:48:52[South Georgia Standard Time, Atlantic/South_Georgia]
10/03/2010 22:48:52[Fernando de Noronha Time, Brazil/DeNoronha]
10/03/2010 22:48:52[GMT-02:00, Etc/GMT+2]
10/04/2010 00:48:52[Eastern Greenland Time, America/Scoresbysund]
10/04/2010 00:48:52[Azores Time, Atlantic/Azores]
10/03/2010 23:48:52[Cape Verde Time, Atlantic/Cape_Verde]
10/03/2010 23:48:52[GMT-01:00, Etc/GMT+1]
10/04/2010 00:48:52[Greenwich Mean Time, Africa/Abidjan]
10/04/2010 00:48:52[Ghana Mean Time, Africa/Accra]
10/04/2010 00:48:52[Greenwich Mean Time, Africa/Bamako]
10/04/2010 00:48:52[Greenwich Mean Time, Africa/Banjul]
10/04/2010 00:48:52[Greenwich Mean Time, Africa/Bissau]
10/04/2010 00:48:52[Western European Time, Africa/Casablanca]
10/04/2010 00:48:52[Greenwich Mean Time, Africa/Conakry]
10/04/2010 00:48:52[Greenwich Mean Time, Africa/Dakar]
10/04/2010 00:48:52[Western European Time, Africa/El_Aaiun]
10/04/2010 00:48:52[Greenwich Mean Time, Africa/Freetown]
10/04/2010 00:48:52[Greenwich Mean Time, Africa/Lome]
10/04/2010 00:48:52[Greenwich Mean Time, Africa/Monrovia]
10/04/2010 00:48:52[Greenwich Mean Time, Africa/Nouakchott]
10/04/2010 00:48:52[Greenwich Mean Time, Africa/Ouagadougou]
10/04/2010 00:48:52[Greenwich Mean Time, Africa/Sao_Tome]
10/04/2010 00:48:52[Greenwich Mean Time, Africa/Timbuktu]
10/04/2010 00:48:52[Greenwich Mean Time, America/Danmarkshavn]
10/04/2010 01:48:52[Western European Time, Atlantic/Canary]
10/04/2010 01:48:52[Western European Time, Atlantic/Faeroe]
10/04/2010 01:48:52[Western European Time, Atlantic/Faroe]
10/04/2010 01:48:52[Western European Time, Atlantic/Madeira]
10/04/2010 00:48:52[Greenwich Mean Time, Atlantic/Reykjavik]
10/04/2010 00:48:52[Greenwich Mean Time, Atlantic/St_Helena]
10/04/2010 01:48:52[Greenwich Mean Time, Eire]
10/04/2010 00:48:52[GMT+00:00, Etc/GMT]
10/04/2010 00:48:52[GMT+00:00, Etc/GMT+0]
10/04/2010 00:48:52[GMT+00:00, Etc/GMT-0]
10/04/2010 00:48:52[GMT+00:00, Etc/GMT0]
10/04/2010 00:48:52[Greenwich Mean Time, Etc/Greenwich]
10/04/2010 00:48:52[Coordinated Universal Time, Etc/UCT]
10/04/2010 00:48:52[Coordinated Universal Time, Etc/UTC]
10/04/2010 00:48:52[Coordinated Universal Time, Etc/Universal]
10/04/2010 00:48:52[Coordinated Universal Time, Etc/Zulu]
10/04/2010 01:48:52[Greenwich Mean Time, Europe/Belfast]
10/04/2010 01:48:52[Greenwich Mean Time, Europe/Dublin]
10/04/2010 01:48:52[Greenwich Mean Time, Europe/Guernsey]
10/04/2010 01:48:52[Greenwich Mean Time, Europe/Isle_of_Man]
10/04/2010 01:48:52[Greenwich Mean Time, Europe/Jersey]
10/04/2010 01:48:52[Western European Time, Europe/Lisbon]
10/04/2010 01:48:52[Greenwich Mean Time, Europe/London]
10/04/2010 01:48:52[Greenwich Mean Time, GB]
10/04/2010 01:48:52[Greenwich Mean Time, GB-Eire]
10/04/2010 00:48:52[Greenwich Mean Time, GMT]
10/04/2010 00:48:52[GMT+00:00, GMT0]
10/04/2010 00:48:52[Greenwich Mean Time, Greenwich]
10/04/2010 00:48:52[Greenwich Mean Time, Iceland]
10/04/2010 01:48:52[Western European Time, Portugal]
10/04/2010 00:48:52[Coordinated Universal Time, UCT]
10/04/2010 00:48:52[Coordinated Universal Time, UTC]
10/04/2010 00:48:52[Coordinated Universal Time, Universal]
10/04/2010 01:48:52[Western European Time, WET]
10/04/2010 00:48:52[Coordinated Universal Time, Zulu]
10/04/2010 01:48:52[Central European Time, Africa/Algiers]
10/04/2010 01:48:52[Western African Time, Africa/Bangui]
10/04/2010 01:48:52[Western African Time, Africa/Brazzaville]
10/04/2010 02:48:52[Central European Time, Africa/Ceuta]
10/04/2010 01:48:52[Western African Time, Africa/Douala]
10/04/2010 01:48:52[Western African Time, Africa/Kinshasa]
10/04/2010 01:48:52[Western African Time, Africa/Lagos]
10/04/2010 01:48:52[Western African Time, Africa/Libreville]
10/04/2010 01:48:52[Western African Time, Africa/Luanda]
10/04/2010 01:48:52[Western African Time, Africa/Malabo]
10/04/2010 01:48:52[Western African Time, Africa/Ndjamena]
10/04/2010 01:48:52[Western African Time, Africa/Niamey]
10/04/2010 01:48:52[Western African Time, Africa/Porto-Novo]
10/04/2010 02:48:52[Central European Time, Africa/Tunis]
10/04/2010 02:48:52[Western African Time, Africa/Windhoek]
10/04/2010 02:48:52[Central European Time, Arctic/Longyearbyen]
10/04/2010 02:48:52[Central European Time, Atlantic/Jan_Mayen]
10/04/2010 02:48:52[Central European Time, CET]
10/04/2010 02:48:52[Central European Time, ECT]
10/04/2010 01:48:52[GMT+01:00, Etc/GMT-1]
10/04/2010 02:48:52[Central European Time, Europe/Amsterdam]
10/04/2010 02:48:52[Central European Time, Europe/Andorra]
10/04/2010 02:48:52[Central European Time, Europe/Belgrade]
10/04/2010 02:48:52[Central European Time, Europe/Berlin]
10/04/2010 02:48:52[Central European Time, Europe/Bratislava]
10/04/2010 02:48:52[Central European Time, Europe/Brussels]
10/04/2010 02:48:52[Central European Time, Europe/Budapest]
10/04/2010 02:48:52[Central European Time, Europe/Copenhagen]
10/04/2010 02:48:52[Central European Time, Europe/Gibraltar]
10/04/2010 02:48:52[Central European Time, Europe/Ljubljana]
10/04/2010 02:48:52[Central European Time, Europe/Luxembourg]
10/04/2010 02:48:52[Central European Time, Europe/Madrid]
10/04/2010 02:48:52[Central European Time, Europe/Malta]
10/04/2010 02:48:52[Central European Time, Europe/Monaco]
10/04/2010 02:48:52[Central European Time, Europe/Oslo]
10/04/2010 02:48:52[Central European Time, Europe/Paris]
10/04/2010 02:48:52[Central European Time, Europe/Podgorica]
10/04/2010 02:48:52[Central European Time, Europe/Prague]
10/04/2010 02:48:52[Central European Time, Europe/Rome]
10/04/2010 02:48:52[Central European Time, Europe/San_Marino]
10/04/2010 02:48:52[Central European Time, Europe/Sarajevo]
10/04/2010 02:48:52[Central European Time, Europe/Skopje]
10/04/2010 02:48:52[Central European Time, Europe/Stockholm]
10/04/2010 02:48:52[Central European Time, Europe/Tirane]
10/04/2010 02:48:52[Central European Time, Europe/Vaduz]
10/04/2010 02:48:52[Central European Time, Europe/Vatican]
10/04/2010 02:48:52[Central European Time, Europe/Vienna]
10/04/2010 02:48:52[Central European Time, Europe/Warsaw]
10/04/2010 02:48:52[Central European Time, Europe/Zagreb]
10/04/2010 02:48:52[Central European Time, Europe/Zurich]
10/04/2010 02:48:52[Middle Europe Time, MET]
10/04/2010 02:48:52[Central European Time, Poland]
10/04/2010 02:48:52[Eastern European Time, ART]
10/04/2010 02:48:52[Central African Time, Africa/Blantyre]
10/04/2010 02:48:52[Central African Time, Africa/Bujumbura]
10/04/2010 02:48:52[Eastern European Time, Africa/Cairo]
10/04/2010 02:48:52[Central African Time, Africa/Gaborone]
10/04/2010 02:48:52[Central African Time, Africa/Harare]
10/04/2010 02:48:52[South Africa Standard Time, Africa/Johannesburg]
10/04/2010 02:48:52[Central African Time, Africa/Kigali]
10/04/2010 02:48:52[Central African Time, Africa/Lubumbashi]
10/04/2010 02:48:52[Central African Time, Africa/Lusaka]
10/04/2010 02:48:52[Central African Time, Africa/Maputo]
10/04/2010 02:48:52[South Africa Standard Time, Africa/Maseru]
10/04/2010 02:48:52[South Africa Standard Time, Africa/Mbabane]
10/04/2010 02:48:52[Eastern European Time, Africa/Tripoli]
10/04/2010 03:48:52[Eastern European Time, Asia/Amman]
10/04/2010 03:48:52[Eastern European Time, Asia/Beirut]
10/04/2010 03:48:52[Eastern European Time, Asia/Damascus]
10/04/2010 02:48:52[Eastern European Time, Asia/Gaza]
10/04/2010 03:48:52[Eastern European Time, Asia/Istanbul]
10/04/2010 02:48:52[Israel Standard Time, Asia/Jerusalem]
10/04/2010 03:48:52[Eastern European Time, Asia/Nicosia]
10/04/2010 02:48:52[Israel Standard Time, Asia/Tel_Aviv]
10/04/2010 02:48:52[Central African Time, CAT]
10/04/2010 03:48:52[Eastern European Time, EET]
10/04/2010 02:48:52[Eastern European Time, Egypt]
10/04/2010 02:48:52[GMT+02:00, Etc/GMT-2]
10/04/2010 03:48:52[Eastern European Time, Europe/Athens]
10/04/2010 03:48:52[Eastern European Time, Europe/Bucharest]
10/04/2010 03:48:52[Eastern European Time, Europe/Chisinau]
10/04/2010 03:48:52[Eastern European Time, Europe/Helsinki]
10/04/2010 03:48:52[Eastern European Time, Europe/Istanbul]
10/04/2010 03:48:52[Eastern European Time, Europe/Kaliningrad]
10/04/2010 03:48:52[Eastern European Time, Europe/Kiev]
10/04/2010 03:48:52[Eastern European Time, Europe/Mariehamn]
10/04/2010 03:48:52[Eastern European Time, Europe/Minsk]
10/04/2010 03:48:52[Eastern European Time, Europe/Nicosia]
10/04/2010 03:48:52[Eastern European Time, Europe/Riga]
10/04/2010 03:48:52[Eastern European Time, Europe/Simferopol]
10/04/2010 03:48:52[Eastern European Time, Europe/Sofia]
10/04/2010 03:48:52[Eastern European Time, Europe/Tallinn]
10/04/2010 03:48:52[Eastern European Time, Europe/Tiraspol]
10/04/2010 03:48:52[Eastern European Time, Europe/Uzhgorod]
10/04/2010 03:48:52[Eastern European Time, Europe/Vilnius]
10/04/2010 03:48:52[Eastern European Time, Europe/Zaporozhye]
10/04/2010 02:48:52[Israel Standard Time, Israel]
10/04/2010 02:48:52[Eastern European Time, Libya]
10/04/2010 03:48:52[Eastern European Time, Turkey]
10/04/2010 03:48:52[Eastern African Time, Africa/Addis_Ababa]
10/04/2010 03:48:52[Eastern African Time, Africa/Asmara]
10/04/2010 03:48:52[Eastern African Time, Africa/Asmera]
10/04/2010 03:48:52[Eastern African Time, Africa/Dar_es_Salaam]
10/04/2010 03:48:52[Eastern African Time, Africa/Djibouti]
10/04/2010 03:48:52[Eastern African Time, Africa/Kampala]
10/04/2010 03:48:52[Eastern African Time, Africa/Khartoum]
10/04/2010 03:48:52[Eastern African Time, Africa/Mogadishu]
10/04/2010 03:48:52[Eastern African Time, Africa/Nairobi]
10/04/2010 03:48:52[Syowa Time, Antarctica/Syowa]
10/04/2010 03:48:52[Arabia Standard Time, Asia/Aden]
10/04/2010 03:48:52[Arabia Standard Time, Asia/Baghdad]
10/04/2010 03:48:52[Arabia Standard Time, Asia/Bahrain]
10/04/2010 03:48:52[Arabia Standard Time, Asia/Kuwait]
10/04/2010 03:48:52[Arabia Standard Time, Asia/Qatar]
10/04/2010 03:48:52[Arabia Standard Time, Asia/Riyadh]
10/04/2010 03:48:52[Eastern African Time, EAT]
10/04/2010 03:48:52[GMT+03:00, Etc/GMT-3]
10/04/2010 04:48:52[Moscow Standard Time, Europe/Moscow]
10/04/2010 04:48:52[Volgograd Time, Europe/Volgograd]
10/04/2010 03:48:52[Eastern African Time, Indian/Antananarivo]
10/04/2010 03:48:52[Eastern African Time, Indian/Comoro]
10/04/2010 03:48:52[Eastern African Time, Indian/Mayotte]
10/04/2010 04:48:52[Moscow Standard Time, W-SU]
10/04/2010 03:55:56[GMT+03:07, Asia/Riyadh87]
10/04/2010 03:55:56[GMT+03:07, Asia/Riyadh88]
10/04/2010 03:55:56[GMT+03:07, Asia/Riyadh89]
10/04/2010 03:55:56[GMT+03:07, Mideast/Riyadh87]
10/04/2010 03:55:56[GMT+03:07, Mideast/Riyadh88]
10/04/2010 03:55:56[GMT+03:07, Mideast/Riyadh89]
10/04/2010 04:18:52[Iran Standard Time, Asia/Tehran]
10/04/2010 04:18:52[Iran Standard Time, Iran]
10/04/2010 05:48:52[Azerbaijan Time, Asia/Baku]
10/04/2010 04:48:52[Gulf Standard Time, Asia/Dubai]
10/04/2010 04:48:52[Gulf Standard Time, Asia/Muscat]
10/04/2010 04:48:52[Georgia Time, Asia/Tbilisi]
10/04/2010 05:48:52[Armenia Time, Asia/Yerevan]
10/04/2010 04:48:52[GMT+04:00, Etc/GMT-4]
10/04/2010 05:48:52[Samara Time, Europe/Samara]
10/04/2010 04:48:52[Seychelles Time, Indian/Mahe]
10/04/2010 04:48:52[Mauritius Time, Indian/Mauritius]
10/04/2010 04:48:52[Reunion Time, Indian/Reunion]
10/04/2010 05:48:52[Armenia Time, NET]
10/04/2010 05:18:52[Afghanistan Time, Asia/Kabul]
10/04/2010 05:48:52[Davis Time, Antarctica/Davis]
10/04/2010 05:48:52[Mawson Time, Antarctica/Mawson]
10/04/2010 05:48:52[Aqtau Time, Asia/Aqtau]
10/04/2010 05:48:52[Aqtobe Time, Asia/Aqtobe]
10/04/2010 05:48:52[Turkmenistan Time, Asia/Ashgabat]
10/04/2010 05:48:52[Turkmenistan Time, Asia/Ashkhabad]
10/04/2010 05:48:52[Tajikistan Time, Asia/Dushanbe]
10/04/2010 06:48:52[Pakistan Time, Asia/Karachi]
10/04/2010 05:48:52[Oral Time, Asia/Oral]
10/04/2010 05:48:52[Uzbekistan Time, Asia/Samarkand]
10/04/2010 05:48:52[Uzbekistan Time, Asia/Tashkent]
10/04/2010 06:48:52[Yekaterinburg Time, Asia/Yekaterinburg]
10/04/2010 05:48:52[GMT+05:00, Etc/GMT-5]
10/04/2010 05:48:52[French Southern & Antarctic Lands Time, Indian/Kerguelen]
10/04/2010 05:48:52[Maldives Time, Indian/Maldives]
10/04/2010 06:48:52[Pakistan Time, PLT]
10/04/2010 06:18:52[India Standard Time, Asia/Calcutta]
10/04/2010 06:18:52[India Standard Time, Asia/Colombo]
10/04/2010 06:18:52[India Standard Time, Asia/Kolkata]
10/04/2010 06:18:52[India Standard Time, IST]
10/04/2010 06:33:52[Nepal Time, Asia/Kathmandu]
10/04/2010 06:33:52[Nepal Time, Asia/Katmandu]
10/04/2010 06:48:52[Vostok Time, Antarctica/Vostok]
10/04/2010 06:48:52[Alma-Ata Time, Asia/Almaty]
10/04/2010 06:48:52[Kirgizstan Time, Asia/Bishkek]
10/04/2010 07:48:52[Bangladesh Time, Asia/Dacca]
10/04/2010 07:48:52[Bangladesh Time, Asia/Dhaka]
10/04/2010 07:48:52[Novosibirsk Time, Asia/Novokuznetsk]
10/04/2010 07:48:52[Novosibirsk Time, Asia/Novosibirsk]
10/04/2010 07:48:52[Omsk Time, Asia/Omsk]
10/04/2010 06:48:52[Qyzylorda Time, Asia/Qyzylorda]
10/04/2010 06:48:52[Bhutan Time, Asia/Thimbu]
10/04/2010 06:48:52[Bhutan Time, Asia/Thimphu]
10/04/2010 07:48:52[Bangladesh Time, BST]
10/04/2010 06:48:52[GMT+06:00, Etc/GMT-6]
10/04/2010 06:48:52[Indian Ocean Territory Time, Indian/Chagos]
10/04/2010 07:18:52[Myanmar Time, Asia/Rangoon]
10/04/2010 07:18:52[Cocos Islands Time, Indian/Cocos]
10/04/2010 07:48:52[Indochina Time, Asia/Bangkok]
10/04/2010 07:48:52[Indochina Time, Asia/Ho_Chi_Minh]
10/04/2010 07:48:52[Hovd Time, Asia/Hovd]
10/04/2010 07:48:52[West Indonesia Time, Asia/Jakarta]
10/04/2010 08:48:52[Krasnoyarsk Time, Asia/Krasnoyarsk]
10/04/2010 07:48:52[Indochina Time, Asia/Phnom_Penh]
10/04/2010 07:48:52[West Indonesia Time, Asia/Pontianak]
10/04/2010 07:48:52[Indochina Time, Asia/Saigon]
10/04/2010 07:48:52[Indochina Time, Asia/Vientiane]
10/04/2010 07:48:52[GMT+07:00, Etc/GMT-7]
10/04/2010 07:48:52[Christmas Island Time, Indian/Christmas]
10/04/2010 07:48:52[Indochina Time, VST]
10/04/2010 08:48:52[Brunei Time, Asia/Brunei]
10/04/2010 08:48:52[Choibalsan Time, Asia/Choibalsan]
10/04/2010 08:48:52[China Standard Time, Asia/Chongqing]
10/04/2010 08:48:52[China Standard Time, Asia/Chungking]
10/04/2010 08:48:52[China Standard Time, Asia/Harbin]
10/04/2010 08:48:52[Hong Kong Time, Asia/Hong_Kong]
10/04/2010 09:48:52[Irkutsk Time, Asia/Irkutsk]
10/04/2010 08:48:52[China Standard Time, Asia/Kashgar]
10/04/2010 08:48:52[Malaysia Time, Asia/Kuala_Lumpur]
10/04/2010 08:48:52[Malaysia Time, Asia/Kuching]
10/04/2010 08:48:52[China Standard Time, Asia/Macao]
10/04/2010 08:48:52[China Standard Time, Asia/Macau]
10/04/2010 08:48:52[Central Indonesia Time, Asia/Makassar]
10/04/2010 08:48:52[Philippines Time, Asia/Manila]
10/04/2010 08:48:52[China Standard Time, Asia/Shanghai]
10/04/2010 08:48:52[Singapore Time, Asia/Singapore]
10/04/2010 08:48:52[China Standard Time, Asia/Taipei]
10/04/2010 08:48:52[Central Indonesia Time, Asia/Ujung_Pandang]
10/04/2010 08:48:52[Ulaanbaatar Time, Asia/Ulaanbaatar]
10/04/2010 08:48:52[Ulaanbaatar Time, Asia/Ulan_Bator]
10/04/2010 08:48:52[China Standard Time, Asia/Urumqi]
10/04/2010 08:48:52[Western Standard Time (Australia), Australia/Perth]
10/04/2010 08:48:52[Western Standard Time (Australia), Australia/West]
10/04/2010 08:48:52[China Standard Time, CTT]
10/04/2010 08:48:52[GMT+08:00, Etc/GMT-8]
10/04/2010 08:48:52[Hong Kong Time, Hongkong]
10/04/2010 08:48:52[China Standard Time, PRC]
10/04/2010 08:48:52[Singapore Time, Singapore]
10/04/2010 09:33:52[Central Western Standard Time (Australia), Australia/Eucla]
10/04/2010 09:48:52[Timor-Leste Time, Asia/Dili]
10/04/2010 09:48:52[East Indonesia Time, Asia/Jayapura]
10/04/2010 09:48:52[Korea Standard Time, Asia/Pyongyang]
10/04/2010 09:48:52[Korea Standard Time, Asia/Seoul]
10/04/2010 09:48:52[Japan Standard Time, Asia/Tokyo]
10/04/2010 10:48:52[Yakutsk Time, Asia/Yakutsk]
10/04/2010 09:48:52[GMT+09:00, Etc/GMT-9]
10/04/2010 09:48:52[Japan Standard Time, JST]
10/04/2010 09:48:52[Japan Standard Time, Japan]
10/04/2010 09:48:52[Palau Time, Pacific/Palau]
10/04/2010 09:48:52[Korea Standard Time, ROK]
10/04/2010 10:18:52[Central Standard Time (Northern Territory), ACT]
10/04/2010 11:18:52[Central Standard Time (South Australia), Australia/Adelaide]
10/04/2010 11:18:52[Central Standard Time (South Australia/New South Wales), Australia/Broken_Hill]
10/04/2010 10:18:52[Central Standard Time (Northern Territory), Australia/Darwin]
10/04/2010 10:18:52[Central Standard Time (Northern Territory), Australia/North]
10/04/2010 11:18:52[Central Standard Time (South Australia), Australia/South]
10/04/2010 11:18:52[Central Standard Time (South Australia/New South Wales), Australia/Yancowinna]
10/04/2010 11:48:52[Eastern Standard Time (New South Wales), AET]
10/04/2010 10:48:52[Dumont-d'Urville Time, Antarctica/DumontDUrville]
10/04/2010 11:48:52[Sakhalin Time, Asia/Sakhalin]
10/04/2010 11:48:52[Vladivostok Time, Asia/Vladivostok]
10/04/2010 11:48:52[Eastern Standard Time (New South Wales), Australia/ACT]
10/04/2010 10:48:52[Eastern Standard Time (Queensland), Australia/Brisbane]
10/04/2010 11:48:52[Eastern Standard Time (New South Wales), Australia/Canberra]
10/04/2010 11:48:52[Eastern Standard Time (New South Wales), Australia/Currie]
10/04/2010 11:48:52[Eastern Standard Time (Tasmania), Australia/Hobart]
10/04/2010 10:48:52[Eastern Standard Time (Queensland), Australia/Lindeman]
10/04/2010 11:48:52[Eastern Standard Time (Victoria), Australia/Melbourne]
10/04/2010 11:48:52[Eastern Standard Time (New South Wales), Australia/NSW]
10/04/2010 10:48:52[Eastern Standard Time (Queensland), Australia/Queensland]
10/04/2010 11:48:52[Eastern Standard Time (New South Wales), Australia/Sydney]
10/04/2010 11:48:52[Eastern Standard Time (Tasmania), Australia/Tasmania]
10/04/2010 11:48:52[Eastern Standard Time (Victoria), Australia/Victoria]
10/04/2010 10:48:52[GMT+10:00, Etc/GMT-10]
10/04/2010 10:48:52[Chamorro Standard Time, Pacific/Guam]
10/04/2010 10:48:52[Papua New Guinea Time, Pacific/Port_Moresby]
10/04/2010 10:48:52[Chamorro Standard Time, Pacific/Saipan]
10/04/2010 10:48:52[Truk Time, Pacific/Truk]
10/04/2010 10:48:52[Truk Time, Pacific/Yap]
10/04/2010 11:48:52[Lord Howe Standard Time, Australia/LHI]
10/04/2010 11:48:52[Lord Howe Standard Time, Australia/Lord_Howe]
10/04/2010 11:48:52[Casey Time, Antarctica/Casey]
10/04/2010 12:48:52[Magadan Time, Asia/Magadan]
10/04/2010 11:48:52[GMT+11:00, Etc/GMT-11]
10/04/2010 11:48:52[Vanuatu Time, Pacific/Efate]
10/04/2010 11:48:52[Solomon Is. Time, Pacific/Guadalcanal]
10/04/2010 11:48:52[Kosrae Time, Pacific/Kosrae]
10/04/2010 11:48:52[New Caledonia Time, Pacific/Noumea]
10/04/2010 11:48:52[Ponape Time, Pacific/Ponape]
10/04/2010 11:48:52[Solomon Is. Time, SST]
10/04/2010 12:18:52[Norfolk Time, Pacific/Norfolk]
10/04/2010 13:48:52[New Zealand Standard Time, Antarctica/McMurdo]
10/04/2010 13:48:52[New Zealand Standard Time, Antarctica/South_Pole]
10/04/2010 13:48:52[Anadyr Time, Asia/Anadyr]
10/04/2010 13:48:52[Petropavlovsk-Kamchatski Time, Asia/Kamchatka]
10/04/2010 12:48:52[GMT+12:00, Etc/GMT-12]
10/04/2010 12:48:52[Marshall Islands Time, Kwajalein]
10/04/2010 13:48:52[New Zealand Standard Time, NST]
10/04/2010 13:48:52[New Zealand Standard Time, NZ]
10/04/2010 13:48:52[New Zealand Standard Time, Pacific/Auckland]
10/04/2010 12:48:52[Fiji Time, Pacific/Fiji]
10/04/2010 12:48:52[Tuvalu Time, Pacific/Funafuti]
10/04/2010 12:48:52[Marshall Islands Time, Pacific/Kwajalein]
10/04/2010 12:48:52[Marshall Islands Time, Pacific/Majuro]
10/04/2010 12:48:52[Nauru Time, Pacific/Nauru]
10/04/2010 12:48:52[Gilbert Is. Time, Pacific/Tarawa]
10/04/2010 12:48:52[Wake Time, Pacific/Wake]
10/04/2010 12:48:52[Wallis & Futuna Time, Pacific/Wallis]
10/04/2010 14:33:52[Chatham Standard Time, NZ-CHAT]
10/04/2010 14:33:52[Chatham Standard Time, Pacific/Chatham]
10/04/2010 13:48:52[GMT+13:00, Etc/GMT-13]
10/04/2010 13:48:52[Phoenix Is. Time, Pacific/Enderbury]
10/04/2010 13:48:52[Tonga Time, Pacific/Tongatapu]
10/04/2010 14:48:52[GMT+14:00, Etc/GMT-14]
10/04/2010 14:48:52[Line Is. Time, Pacific/Kiritimati]

このプログラムを実行した、私の環境はロサンゼルスの夕方5時50分前ということで、 ローカル時間 (PDT) が正しく表示されていることがわかります。

日米の主なタイムゾーン

実際に利用することを考えると、これだけ全てのタイムゾーンをユーザーに示すのも問題があります。 いくつか主要なタイムゾーンの表記と、タイムゾーン ID を以下に示します。

表示名TimeZone ID
(GMT-10:00) HawaiiUS/Hawaii
(GMT-09:00) AlaskaUS/Alaska
(GMT-08:00) Pacific Time (US & Canada)US/Pacific-New
(GMT-07:00) ArizonaUS/Arizona
(GMT-07:00) Mountain Time (US & Canada)US/Mountain
(GMT-06:00) Central Time (US & Canada)US/Central
(GMT-05:00) Eastern Time (US & Canada)US/Eastern
(GMT-05:00) Indiana (East)US/East-Indiana
Coordinated Universal TimeUTC
(GMT+09:00) JapanAsia/Tokyo

表示名の箇所はあくまで便宜上のものなので、プログラムにあわせて適当に変えてください。

尚、その他のタイムゾーン ID とそれぞれの意味は Wikipedia のタイムゾーンリスト等を確認してください。

ホーム > 日時・タイムゾーンの扱い > タイムゾーン (TimeZone)