function Convert(tz) {
  var s = tz.split(":");
  var ms = s[0] * 60 * 60 * 1000 + s[1] * 60 * 1000;
  return ms;
}

function GetOffset(DateTime, Month1, Month2, Day1, Day2, Hours1, Hours2, Minutes1, Minutes2, GMTOff1, GMTOff2) {
  var DateTime1 = new Date(DateTime.getFullYear(), Month1 - 1, Day1, Hours1, Minutes1, 0);
  var DateTime2 = new Date(DateTime.getFullYear(), Month2 - 1, Day2, Hours2, Minutes2, 0);
  if (DateTime2 > DateTime1) {
    if ((DateTime.getTime() + Convert(GMTOff1)) < DateTime1) {return GMTOff1}
    else if ((DateTime.getTime() + Convert(GMTOff2)) < DateTime2) {return GMTOff2}
    else {return GMTOff1};
  }
  else {
    if ((DateTime.getTime() + Convert(GMTOff1)) < DateTime2) {return GMTOff1}
    else if ((DateTime.getTime() + Convert(GMTOff2)) < DateTime1) {return GMTOff2}
    else {return GMTOff1};
  }
}

function GetCode(DateTime, Coordinates, Location, CountryNameCode) {
  switch(CountryNameCode) {
    case "AD":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "AE":
      return "4:00";
    case "AF":
      return "4:30";
    case "AG":
      return "-4:00";
    case "AI":
      return "-4:00";
    case "AL":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "AM":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "4:00", "5:00");
    case "AO":
      return "1:00";
    case "AQ":
      if (Location.indexOf('Casey') >= 0){return "8:00"}
      else if (Location.indexOf('Davis') >= 0){return "7:00"}
      else if (Location.indexOf('DumontDUrville') >= 0){return "10:00"}
      else if (Location.indexOf('Macquarie') >= 0){return "11:00"}
      else if (Location.indexOf('Mawson') >= 0){return "5:00"}
      else if (Location.indexOf('McMurdo') >= 0){return GetOffset(DateTime, 9, 4, 30, 1, 2, 3, 0, 0, "13:00", "12:00")}
      else if (Location.indexOf('Palmer') >= 0){return GetOffset(DateTime, 10, 3, 14, 11, 0, 0, 0, 0, "-3:00", "-4:00")}
      else if (Location.indexOf('Rothera') >= 0){return "-3:00"}
      else if (Location.indexOf('South Magnetic Pole') >= 0){return GetOffset(DateTime, 9, 4, 30, 1, 2, 3, 0, 0, "13:00", "12:00")}
      else if (Location.indexOf('Syowa') >= 0){return "3:00"}
      else if (Location.indexOf('Vostok') >= 0){return "6:00"}
      else {return ""}
    case "AR":
      if (Location.indexOf('Buenos Aires') >= 0){return "-3:00"}
      else if (Location.indexOf('Catamarca') >= 0){return "-3:00"}
      else if (Location.indexOf('Cordoba') >= 0){return "-3:00"}
      else if (Location.indexOf('Jujuy') >= 0){return "-3:00"}
      else if (Location.indexOf('La Rioja') >= 0){return "-3:00"}
      else if (Location.indexOf('Mendoza') >= 0){return "-3:00"}
      else if (Location.indexOf('Rio Gallegos') >= 0){return "-3:00"}
      else if (Location.indexOf('Salta') >= 0){return "-3:00"}
      else if (Location.indexOf('San Juan') >= 0){return "-3:00"}
      else if (Location.indexOf('San Luis') >= 0){return "-4:00"}
      else if (Location.indexOf('Tucuman') >= 0){return "-3:00"}
      else if (Location.indexOf('Ushuaia') >= 0){return "-3:00"}
      else {return ""}
    case "AS":
      return "-11:00";
    case "AT":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "AU":
      if (Location.indexOf('Adelaide') >= 0){return GetOffset(DateTime, 10, 4, 7, 1, 2, 3, 0, 0, "10:30", "9:30")}
      else if (Location.indexOf('Wollongong') >= 0){return GetOffset(DateTime, 10, 4, 7, 1, 2, 3, 0, 0, "11:00", "10:00")}
      else if (Location.indexOf('Wodonga') >= 0){return GetOffset(DateTime, 10, 4, 7, 1, 2, 3, 0, 0, "11:00", "10:00")}
      else if (Location.indexOf('Shepparton') >= 0){return GetOffset(DateTime, 10, 4, 7, 1, 2, 3, 0, 0, "11:00", "10:00")}
      else if (Location.indexOf('Newcastle') >= 0){return GetOffset(DateTime, 10, 4, 7, 1, 2, 3, 0, 0, "11:00", "10:00")}
      else if (Location.indexOf('Launceston') >= 0){return GetOffset(DateTime, 10, 4, 7, 1, 2, 3, 0, 0, "11:00", "10:00")}
      else if (Location.indexOf('Geelong') >= 0){return GetOffset(DateTime, 10, 4, 7, 1, 2, 3, 0, 0, "11:00", "10:00")}
      else if (Location.indexOf('Coffs') >= 0){return GetOffset(DateTime, 10, 4, 7, 1, 2, 3, 0, 0, "11:00", "10:00")}
      else if (Location.indexOf('Canberra') >= 0){return GetOffset(DateTime, 10, 4, 7, 1, 2, 3, 0, 0, "11:00", "10:00")}
      else if (Location.indexOf('Bendigo') >= 0){return GetOffset(DateTime, 10, 4, 7, 1, 2, 3, 0, 0, "11:00", "10:00")}
      else if (Location.indexOf('Ballarat') >= 0){return GetOffset(DateTime, 10, 4, 7, 1, 2, 3, 0, 0, "11:00", "10:00")}
      else if (Location.indexOf('Albury') >= 0){return GetOffset(DateTime, 10, 4, 7, 1, 2, 3, 0, 0, "11:00", "10:00")}
      else if (Location.indexOf('Mandurah') >= 0){return "8:00"}
      else if (Location.indexOf('Bunbury') >= 0){return "8:00"}
      else if (Location.indexOf('Uluru') >= 0){return "9:30"}
      else if (Location.indexOf('Alice') >= 0){return "9:30"}
      else if (Location.indexOf('Townsville') >= 0){return "10:00"}
      else if (Location.indexOf('Toowoomba') >= 0){return "10:00"}
      else if (Location.indexOf('Sunshine') >= 0){return "10:00"}
      else if (Location.indexOf('Rockhampton') >= 0){return "10:00"}
      else if (Location.indexOf('Mackay') >= 0){return "10:00"}
      else if (Location.indexOf('Hervey') >= 0){return "10:00"}
      else if (Location.indexOf('Gold') >= 0){return "10:00"}
      else if (Location.indexOf('Cairns') >= 0){return "10:00"}
      else if (Location.indexOf('Bundaberg') >= 0){return "10:00"}
      else if (Location.indexOf('Brisbane') >= 0){return "10:00"}
      else if (Location.indexOf('Broken Hill') >= 0){return GetOffset(DateTime, 10, 4, 7, 1, 2, 3, 0, 0, "10:30", "9:30")}
      else if (Location.indexOf('Currie') >= 0){return GetOffset(DateTime, 10, 4, 7, 1, 2, 3, 0, 0, "11:00", "10:00")}
      else if (Location.indexOf('Darwin') >= 0){return "9:30"}
      else if (Location.indexOf('Eucla') >= 0){return "8:45"}
      else if (Location.indexOf('Hobart') >= 0){return GetOffset(DateTime, 10, 4, 7, 1, 2, 3, 0, 0, "11:00", "10:00")}
      else if (Location.indexOf('Lindeman') >= 0){return "10:00"}
      else if (Location.indexOf('Lord Howe') >= 0){return GetOffset(DateTime, 10, 4, 7, 1, 2, 2, 0, 0, "11:00", "10:30")}
      else if (Location.indexOf('Melbourne') >= 0){return GetOffset(DateTime, 10, 4, 7, 1, 2, 3, 0, 0, "11:00", "10:00")}
      else if (Location.indexOf('Perth') >= 0){return "8:00"}
      else if (Location.indexOf('Sydney') >= 0){return GetOffset(DateTime, 10, 4, 7, 1, 2, 3, 0, 0, "11:00", "10:00")}
      else {return ""}
    case "AW":
      return "-4:00";
    case "AX":
      return GetOffset(DateTime, 3, 10, 25, 28, 3, 4, 0, 0, "2:00", "3:00");
    case "AZ":
      return GetOffset(DateTime, 3, 10, 25, 28, 4, 5, 0, 0, "4:00", "5:00");
    case "BA":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "BB":
      return "-4:00";
    case "BD":
      return "6:00";
    case "BE":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "BF":
      return "0:00";
    case "BG":
      return GetOffset(DateTime, 3, 10, 25, 28, 3, 4, 0, 0, "2:00", "3:00");
    case "BH":
      return "3:00";
    case "BI":
      return "2:00";
    case "BJ":
      return "1:00";
    case "BL":
      return "-4:00";
    case "BM":
      return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00");
    case "BN":
      return "8:00";
    case "BO":
      return "-4:00";
    case "BQ":
      return "-4:00";
    case "BR":
      if (Location.indexOf('Araguaína') >= 0){return "-3:00"}
      else if (Location.indexOf('Volta Redonda') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Vitória') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Uruguaiana') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Uberlândia') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Uberaba') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Teófilo Otoni') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Sorocaba') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('São José do Rio Preto') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Santos') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Santa Maria') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Rio Grande') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Rio de Janeiro') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Ribeirão Preto') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Porto Alegre') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Ponta Grossa') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Pelotas') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Passo Fundo') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Niterói') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Montes Claros') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Londrina') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Juiz de Fora') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Joinville') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Governador Valadares') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Goiânia') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Florianópolis') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Curitiba') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Caxias do Sul') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Campos') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Campinas') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Blumenau') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Belo Horizonte') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Bauru') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Anápolis') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Vitória da Conquista') >= 0){return "-3:00"}
      else if (Location.indexOf('Teresina') >= 0){return "-3:00"}
      else if (Location.indexOf('Sobral') >= 0){return "-3:00"}
      else if (Location.indexOf('São Luís') >= 0){return "-3:00"}
      else if (Location.indexOf('Salvador') >= 0){return "-3:00"}
      else if (Location.indexOf('Parnaíba') >= 0){return "-3:00"}
      else if (Location.indexOf('Natal') >= 0){return "-3:00"}
      else if (Location.indexOf('Mossoró') >= 0){return "-3:00"}
      else if (Location.indexOf('Macapá') >= 0){return "-3:00"}
      else if (Location.indexOf('Juazeiro do Norte') >= 0){return "-3:00"}
      else if (Location.indexOf('João Pessoa') >= 0){return "-3:00"}
      else if (Location.indexOf('Jequié') >= 0){return "-3:00"}
      else if (Location.indexOf('Itabuna') >= 0){return "-3:00"}
      else if (Location.indexOf('Ilhéus') >= 0){return "-3:00"}
      else if (Location.indexOf('Garanhuns') >= 0){return "-3:00"}
      else if (Location.indexOf('Feira de Santana') >= 0){return "-3:00"}
      else if (Location.indexOf('Caruaru') >= 0){return "-3:00"}
      else if (Location.indexOf('Campina Grande') >= 0){return "-3:00"}
      else if (Location.indexOf('Barreiras') >= 0){return "-3:00"}
      else if (Location.indexOf('Aracaju') >= 0){return "-3:00"}
      else if (Location.indexOf('Alagoinhas') >= 0){return "-3:00"}
      else if (Location.indexOf('Bahia') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else if (Location.indexOf('Belém') >= 0){return "-3:00"}
      else if (Location.indexOf('Boa Vista') >= 0){return "-4:00"}
      else if (Location.indexOf('Campo Grande') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-3:00", "-4:00")}
      else if (Location.indexOf('Cuiabá') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-3:00", "-4:00")}
      else if (Location.indexOf('Eirunepe') >= 0){return "-4:00"}
      else if (Location.indexOf('Fortaleza') >= 0){return "-3:00"}
      else if (Location.indexOf('Maceió') >= 0){return "-3:00"}
      else if (Location.indexOf('Manaus') >= 0){return "-4:00"}
      else if (Location.indexOf('Noronha') >= 0){return "-2:00"}
      else if (Location.indexOf('Porto Velho') >= 0){return "-4:00"}
      else if (Location.indexOf('Recife') >= 0){return "-3:00"}
      else if (Location.indexOf('Rio Branco') >= 0){return "-4:00"}
      else if (Location.indexOf('Santarem') >= 0){return "-3:00"}
      else if (Location.indexOf('São Paulo') >= 0){return GetOffset(DateTime, 10, 2, 21, 26, 0, 0, 0, 0, "-2:00", "-3:00")}
      else {return ""}
    case "BS":
      return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00");
    case "BT":
      return "6:00";
    case "BW":
      return "2:00";
    case "BY":
      return "3:00";
    case "BZ":
      return "-6:00";
    case "CA":
      if (Location.indexOf('Atikokan') >= 0){return "-5:00"}
      else if (Location.indexOf('Thompson') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Steinbach') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('St Clements, Manitoba') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('St Andrews, Manitoba') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Springfield, Manitoba') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Selkirk') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Rankin Inlet') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Portage la Prairie') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Hanover') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Denare Beach') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Creighton') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Brandon') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Baker Lake') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Arviat') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Whitehorse') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Whistler') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Victoria') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Surrey') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Saanich') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Richmond, Brittiläinen Kolumbia') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Prince George') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Port Coquitlam') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('New Westminster') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Nanaimo') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Maple Ridge') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Langley') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Kelowna') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Kamloops') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Delta') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Coquitlam') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Chilliwack') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Burnaby') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Abbotsford') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Stephenville') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-3:30", "-2:30")}
      else if (Location.indexOf('Saint John') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-3:30", "-2:30")}
      else if (Location.indexOf('Paradise') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-3:30", "-2:30")}
      else if (Location.indexOf('Mt Pearl') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-3:30", "-2:30")}
      else if (Location.indexOf('Grand Falls-Windsor') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-3:30", "-2:30")}
      else if (Location.indexOf('Gander') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-3:30", "-2:30")}
      else if (Location.indexOf('Corner Brook') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-3:30", "-2:30")}
      else if (Location.indexOf('Conception Bay South') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-3:30", "-2:30")}
      else if (Location.indexOf('Coral Harbour') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Saskatoon') >= 0){return "-6:00"}
      else if (Location.indexOf('Moose Jaw') >= 0){return "-6:00"}
      else if (Location.indexOf('Windsor') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Whitby') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Welland') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Waterloo') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Vaughan') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Trois-Rivières') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Toronto') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Timmins') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Thunder Bay') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Terrebonne') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Greater Sudbury') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('St. Catharines') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Sherbrooke') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Shawinigan') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Sault Ste') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Sarnia') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Saint-Jérôme') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Saint-Jean-sur-Richelieu') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Saint-Hyacinthe') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Saguenay') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Rimouski') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Richmond Hill') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Repentigny') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Quebec') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Pond Inlet') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Pickering') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Peterborough') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Pangnirtung') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Ottawa') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Oshawa') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Oakville') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('North Bay') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Norfolk') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Niagara Falls') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Newmarket') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Mississauga') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Markham') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Longueuil') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('London') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Lévis') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Laval') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Kitchener') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Kingston') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Kawartha Lakes') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Iqaluit') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Igloolik') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Hamilton') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Halton Hills') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Haldimand') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Guelph') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Granby') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Gatineau') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Drummondville') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Cornwall, Ontario') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Clarington') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Chatham') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Cape Dorset') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Cambridge') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Caledon') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Burlington') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Brantford') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Brampton') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Belleville') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Barrie') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Ajax') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Yarmouth') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else if (Location.indexOf('Summerside') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else if (Location.indexOf('Rothesay') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else if (Location.indexOf('Riverview') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else if (Location.indexOf('Quispamsis') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else if (Location.indexOf('Pictou') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else if (Location.indexOf('Moncton') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else if (Location.indexOf('Miramichi') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else if (Location.indexOf('Lunenburg') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else if (Location.indexOf('Labrador City') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else if (Location.indexOf('Kings County') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else if (Location.indexOf('Fredericton') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else if (Location.indexOf('East Hants') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else if (Location.indexOf('Dieppe') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else if (Location.indexOf('Cumberland') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else if (Location.indexOf('Charlottetown') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else if (Location.indexOf('Bathurst') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else if (Location.indexOf('Annapolis') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else if (Location.indexOf('Happy Valley-Goose Bay') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else if (Location.indexOf('Yellowknife') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Wood Buffalo, Alberta') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Strathcona County') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('St. Albert') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Red Deer') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Medicine Hat') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Lloydminster') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Lethbridge') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Kugluktuk') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Inuvik') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Hay River') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Grande Prairie') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Fort Smith') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Fort Simpson') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Edzo') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Cranbrook') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Camrose') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Cambridge Bay') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Calgary') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Banff') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Aklavik') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Blanc-Sablon') >= 0){return "-4:00"}
      else if (Location.indexOf('Cambridge Bay') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Dawson City') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Dawson Creek') >= 0){return "-7:00"}
      else if (Location.indexOf('Edmonton') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Glace Bay') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else if (Location.indexOf('Goose Bay') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else if (Location.indexOf('Halifax') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else if (Location.indexOf('Inuvik') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Iqaluit') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Moncton') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else if (Location.indexOf('Montreal') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Nipigon') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Pangnirtung') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Rainy River') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Rankin Inlet') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Regina') >= 0){return "-6:00"}
      else if (Location.indexOf('Resolute') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('St Johns') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-3:30", "-2:30")}
      else if (Location.indexOf('Swift Current') >= 0){return "-6:00"}
      else if (Location.indexOf('Thunder Bay') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Toronto') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Vancouver') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Whitehorse') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Winnipeg') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Yellowknife') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else {return ""}
    case "CC":
      return "6:30";
    case "CD":
      if (Coordinates >= 25){return "2:00"}
      else {return "1:00"}
    case "CF":
      return "1:00";
    case "CG":
      return "1:00";
    case "CH":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "CI":
      return "0:00";
    case "CK":
      return "-10:00";
    case "CL":
      if (Coordinates <= -100){return GetOffset(DateTime, 10, 3, 14, 11, 2, 2, 0, 0, "-5:00", "-6:00")}
      else {return GetOffset(DateTime, 10, 3, 14, 11, 0, 0, 0, 0, "-3:00", "-4:00")}
    case "CM":
      return "1:00";
    case "CN":
      return "8:00";
    case "CO":
      return "-5:00";
    case "CR":
      return "-6:00";
    case "CU":
      return GetOffset(DateTime, 3, 10, 11, 28, 0, 1, 0, 0, "-5:00", "-4:00");
    case "CV":
      return "-1:00";
    case "CW":
      return "-4:00";
    case "CX":
      return "7:00";
    case "CY":
      return GetOffset(DateTime, 3, 10, 25, 28, 3, 4, 0, 0, "2:00", "3:00");
    case "CZ":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "DE":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "DJ":
      return "3:00";
    case "DK":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "DM":
      return "-4:00";
    case "DO":
      return "-4:00";
    case "DZ":
      return "1:00";
    case "EC":
      if (Coordinates <= -85){return "-6:00"}
      else {return "-5:00"}
    case "EE":
      return GetOffset(DateTime, 3, 10, 25, 28, 3, 4, 0, 0, "2:00", "3:00");
    case "EG":
      return "2:00";
    case "EH":
      return "0:00";
    case "ER":
      return "3:00";
    case "ES":
      if (Coordinates <= -10){return GetOffset(DateTime, 3, 10, 25, 28, 1, 2, 0, 0, "0:00", "1:00")}
      else {return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00")}
    case "ET":
      return "3:00";
    case "FI":
      return GetOffset(DateTime, 3, 10, 25, 28, 3, 4, 0, 0, "2:00", "3:00");
    case "FJ":
      return "12:00";
    case "FK":
      return GetOffset(DateTime, 9, 4, 2, 15, 2, 2, 0, 0, "-3:00", "-4:00");
    case "FM":
      if (Location.indexOf('Chuuk') >= 0){return "10:00"}
      else if (Location.indexOf('Pohnpei') >= 0){return "11:00"}
      else {return "11:00"}
    case "FO":
      return GetOffset(DateTime, 3, 10, 25, 28, 1, 2, 0, 0, "0:00", "1:00");
    case "FR":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "GA":
      return "1:00";
    case "GB":
      return GetOffset(DateTime, 3, 10, 25, 28, 1, 2, 0, 0, "0:00", "1:00");
    case "GD":
      return "-4:00";
    case "GE":
      return "4:00";
    case "GF":
      return "-3:00";
    case "GG":
      return GetOffset(DateTime, 3, 10, 25, 28, 1, 2, 0, 0, "0:00", "1:00");
    case "GH":
      return "0:00";
    case "GI":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "GL":
      if (Location.indexOf('Danmarkshavn') >= 0){return "0:00"}
      else if (Location.indexOf('Qaanaaq') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else if (Location.indexOf('Ittoqqortoormiit') >= 0){return GetOffset(DateTime, 3, 10, 25, 28, 0, 1, 0, 0, "-1:00", "0:00")}
      else if (Location.indexOf('Nuuk') >= 0){return GetOffset(DateTime, 3, 10, 25, 28, 2, 1, 0, 0, "-3:00", "-2:00")}
      else if (Location.indexOf('Godthab') >= 0){return GetOffset(DateTime, 3, 10, 25, 28, 2, 1, 0, 0, "-3:00", "-2:00")}
      else if (Location.indexOf('Scoresbysund') >= 0){return GetOffset(DateTime, 3, 10, 25, 28, 0, 1, 0, 0, "-1:00", "0:00")}
      else if (Location.indexOf('Thule') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-4:00", "-3:00")}
      else {return ""}
    case "GM":
      return "0:00";
    case "GN":
      return "0:00";
    case "GP":
      return "-4:00";
    case "GQ":
      return "1:00";
    case "GR":
      return GetOffset(DateTime, 3, 10, 25, 28, 3, 4, 0, 0, "2:00", "3:00");
    case "GS":
      return "-2:00";
    case "GT":
      return "-6:00";
    case "GU":
      return "10:00";
    case "GW":
      return "0:00";
    case "GY":
      return "-4:00";
    case "HK":
      return "8:00";
    case "HN":
      return "-6:00";
    case "HR":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "HT":
      return "-5:00";
    case "HU":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "ID":
      if (Coordinates >= 130){return "9:00"}
      else if (Coordinates >= 115){return "8:00"}
      else {return "7:00"}
    case "IE":
      return GetOffset(DateTime, 3, 10, 25, 28, 1, 2, 0, 0, "0:00", "1:00");
    case "IL":
      return GetOffset(DateTime, 3, 9, 30, 23, 2, 2, 0, 0, "2:00", "3:00");
    case "IM":
      return GetOffset(DateTime, 3, 10, 25, 28, 1, 2, 0, 0, "0:00", "1:00");
    case "IN":
      return "5:30";
    case "IO":
      return "6:00";
    case "IQ":
      return "3:00";
    case "IR":
      return GetOffset(DateTime, 3, 9, 21, 21, 0, 0, 0, 0, "3:30", "4:30");
    case "IS":
      return "0:00";
    case "IT":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "JE":
      return GetOffset(DateTime, 3, 10, 25, 28, 1, 2, 0, 0, "0:00", "1:00");
    case "JM":
      return "-5:00";
    case "JO":
      return GetOffset(DateTime, 3, 10, 29, 26, 0, 1, 0, 0, "2:00", "3:00");
    case "JP":
      return "9:00";
    case "KE":
      return "3:00";
    case "KG":
      return "6:00";
    case "KH":
      return "7:00";
    case "KI":
      if (Coordinates <= -165){return "13:00"}
      else if (Coordinates <= -150){return "14:00"}
      else {return "12:00"}
    case "KM":
      return "3:00";
    case "KN":
      return "-4:00";
    case "KP":
      return "9:00";
    case "KR":
      return "9:00";
    case "KW":
      return "3:00";
    case "KY":
      return "-5:00";
    case "KZ":
      if (Location.indexOf('Almaty') >= 0){return "6:00"}
      else if (Location.indexOf('Karaganda') >= 0){return "6:00"}
      else if (Location.indexOf('Astana') >= 0){return "6:00"}
      else if (Location.indexOf('Aqtau') >= 0){return "5:00"}
      else if (Location.indexOf('Aqtobe') >= 0){return "5:00"}
      else if (Location.indexOf('Oral') >= 0){return "5:00"}
      else if (Location.indexOf('Qyzylorda') >= 0){return "6:00"}
      else {return ""}
    case "LA":
      return "7:00";
    case "LB":
      return GetOffset(DateTime, 3, 10, 25, 28, 0, 0, 0, 0, "2:00", "3:00");
    case "LC":
      return "-4:00";
    case "LI":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "LK":
      return "5:30";
    case "LR":
      return "0:00";
    case "LS":
      return "2:00";
    case "LT":
      return GetOffset(DateTime, 3, 10, 25, 28, 3, 4, 0, 0, "2:00", "3:00");
    case "LU":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "LV":
      return GetOffset(DateTime, 3, 10, 25, 28, 3, 4, 0, 0, "2:00", "3:00");
    case "LY":
      return "2:00";
    case "MA":
      return "0:00";
    case "MC":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "MD":
      return GetOffset(DateTime, 3, 10, 25, 28, 3, 4, 0, 0, "2:00", "3:00");
    case "ME":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "MF":
      return "-4:00";
    case "MG":
      return "3:00";
    case "MH":
      return "12:00";
    case "MK":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "ML":
      return "0:00";
    case "MM":
      return "6:30";
    case "MN":
      if (Location.indexOf('Choibalsan') >= 0){return "8:00"}
      else if (Location.indexOf('Hovd') >= 0){return "7:00"}
      else if (Location.indexOf('Ulan Bator') >= 0){return "8:00"}
      else {return ""}
    case "MO":
      return "8:00";
    case "MP":
      return "10:00";
    case "MQ":
      return "-4:00";
    case "MR":
      return "0:00";
    case "MS":
      return "-4:00";
    case "MT":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "MU":
      return "4:00";
    case "MV":
      return "5:00";
    case "MW":
      return "2:00";
    case "MX":
      if (Location.indexOf('Bahia Banderas') >= 0){return GetOffset(DateTime, 4, 10, 1, 28, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Mexicali') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Villahermosa') >= 0){return GetOffset(DateTime, 4, 10, 1, 28, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Veracruz') >= 0){return GetOffset(DateTime, 4, 10, 1, 28, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Torreón') >= 0){return GetOffset(DateTime, 4, 10, 1, 28, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('San Luis Potosí') >= 0){return GetOffset(DateTime, 4, 10, 1, 28, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Saltillo') >= 0){return GetOffset(DateTime, 4, 10, 1, 28, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Puebla') >= 0){return GetOffset(DateTime, 4, 10, 1, 28, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('León') >= 0){return GetOffset(DateTime, 4, 10, 1, 28, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Guadalajara') >= 0){return GetOffset(DateTime, 4, 10, 1, 28, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Cozumel') >= 0){return GetOffset(DateTime, 4, 10, 1, 28, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Campeche') >= 0){return GetOffset(DateTime, 4, 10, 1, 28, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Aguascalientes') >= 0){return GetOffset(DateTime, 4, 10, 1, 28, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Acapulco') >= 0){return GetOffset(DateTime, 4, 10, 1, 28, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Culiacán') >= 0){return GetOffset(DateTime, 4, 10, 1, 28, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Cancún') >= 0){return GetOffset(DateTime, 4, 10, 1, 28, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Chihuahua') >= 0){return GetOffset(DateTime, 4, 10, 1, 28, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Hermosillo') >= 0){return "-7:00"}
      else if (Location.indexOf('Matamoros') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Mazatlán') >= 0){return GetOffset(DateTime, 4, 10, 1, 28, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Mérida') >= 0){return GetOffset(DateTime, 4, 10, 1, 28, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('México') >= 0){return GetOffset(DateTime, 4, 10, 1, 28, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Monterrey') >= 0){return GetOffset(DateTime, 4, 10, 1, 28, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Ojinaga') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Santa Isabel') >= 0){return GetOffset(DateTime, 4, 10, 1, 28, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Tijuana') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else {return ""}
    case "MY":
      return "8:00";
    case "MZ":
      return "2:00";
    case "NA":
      return GetOffset(DateTime, 9, 4, 2, 1, 2, 2, 0, 0, "2:00", "1:00");
    case "NC":
      return "11:00";
    case "NE":
      return "1:00";
    case "NF":
      return "11:30";
    case "NG":
      return "1:00";
    case "NI":
      return "-6:00";
    case "NL":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "NO":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "NP":
      return "5:45";
    case "NR":
      return "12:00";
    case "NU":
      return "-11:00";
    case "NZ":
      if (Location.indexOf('Chatham') >= 0){return GetOffset(DateTime, 9, 4, 30, 1, 2, 3, 45, 45, "13:45", "12:45")}
      else {return GetOffset(DateTime, 9, 4, 30, 1, 2, 3, 0, 0, "13:00", "12:00")}
    case "OM":
      return "4:00";
    case "PA":
      return "-5:00";
    case "PE":
      return "-5:00";
    case "PF":
      if (Location.indexOf('Gambier') >= 0){return "-9:00"}
      else if (Location.indexOf('Marquesas') >= 0){return "-9:30"}
      else {return "-10:00"}
    case "PG":
      return "10:00";
    case "PH":
      return "8:00";
    case "PK":
      return "5:00";
    case "PL":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "PM":
      return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-3:00", "-2:00");
    case "PN":
      return "-8:00";
    case "PR":
      return "-4:00";
    case "PS":
      return "2:00";
    case "PT":
      if (Coordinates <= -20){return GetOffset(DateTime, 3, 10, 25, 28, 0, 1, 0, 0, "-1:00", "0:00")}
      else {return GetOffset(DateTime, 3, 10, 25, 28, 1, 2, 0, 0, "0:00", "1:00")}
    case "PW":
      return "9:00";
    case "PY":
      return GetOffset(DateTime, 10, 4, 7, 8, 0, 0, 0, 0, "-3:00", "-4:00");
    case "QA":
      return "3:00";
    case "RE":
      return "4:00";
    case "RO":
      return GetOffset(DateTime, 3, 10, 25, 28, 3, 4, 0, 0, "2:00", "3:00");
    case "RS":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "RU":
      if (Location.indexOf('Anadyr') >= 0){return "12:00"}
      else if (Location.indexOf('Toljatti') >= 0){return "4:00"}
      else if (Location.indexOf('Iževsk') >= 0){return "4:00"}
      else if (Location.indexOf('Jaroslavl') >= 0){return "4:00"}
      else if (Location.indexOf('Voronež') >= 0){return "4:00"}
      else if (Location.indexOf('Uljanovsk') >= 0){return "4:00"}
      else if (Location.indexOf('Saratov') >= 0){return "4:00"}
      else if (Location.indexOf('Pietari') >= 0){return "4:00"}
      else if (Location.indexOf('Rostov') >= 0){return "4:00"}
      else if (Location.indexOf('Penza') >= 0){return "4:00"}
      else if (Location.indexOf('Novgorod') >= 0){return "4:00"}
      else if (Location.indexOf('Murmansk') >= 0){return "4:00"}
      else if (Location.indexOf('Krasnodar') >= 0){return "4:00"}
      else if (Location.indexOf('Kazan') >= 0){return "4:00"}
      else if (Location.indexOf('Ufa') >= 0){return "6:00"}
      else if (Location.indexOf('Perm') >= 0){return "6:00"}
      else if (Location.indexOf('Orenburg') >= 0){return "6:00"}
      else if (Location.indexOf('Tšeljabinsk') >= 0){return "6:00"}
      else if (Location.indexOf('Južno-Sahalinsk') >= 0){return "11:00"}
      else if (Location.indexOf('Khabarovsk') >= 0){return "11:00"}
      else if (Location.indexOf('Novokuznetsk') >= 0){return "8:00"}
      else if (Location.indexOf('Norilsk') >= 0){return "8:00"}
      else if (Location.indexOf('Irkutsk') >= 0){return "9:00"}
      else if (Location.indexOf('Petropavlovsk-Kamtšatski') >= 0){return "12:00"}
      else if (Location.indexOf('Krasnoyarsk') >= 0){return "8:00"}
      else if (Location.indexOf('Magadan') >= 0){return "12:00"}
      else if (Location.indexOf('Novokuznetsk') >= 0){return "7:00"}
      else if (Location.indexOf('Novosibirsk') >= 0){return "7:00"}
      else if (Location.indexOf('Omsk') >= 0){return "7:00"}
      else if (Location.indexOf('Sakhalin') >= 0){return "11:00"}
      else if (Location.indexOf('Vladivostok') >= 0){return "11:00"}
      else if (Location.indexOf('Yakutsk') >= 0){return "10:00"}
      else if (Location.indexOf('Jekaterinburg') >= 0){return "6:00"}
      else if (Location.indexOf('Kaliningrad') >= 0){return "3:00"}
      else if (Location.indexOf('Moskova') >= 0){return "4:00"}
      else if (Location.indexOf('Samara') >= 0){return "4:00"}
      else if (Location.indexOf('Volgograd') >= 0){return "4:00"}
      else {return ""}
    case "RW":
      return "2:00";
    case "SA":
      return "3:00";
    case "SB":
      return "11:00";
    case "SC":
      return "4:00";
    case "SD":
      return "3:00";
    case "SE":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "SG":
      return "8:00";
    case "SH":
      return "0:00";
    case "SI":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "SJ":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "SK":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "SL":
      return "0:00";
    case "SM":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "SN":
      return "0:00";
    case "SO":
      return "3:00";
    case "SR":
      return "-3:00";
    case "SS":
      return "3:00";
    case "ST":
      return "0:00";
    case "SV":
      return "-6:00";
    case "SX":
      return "-4:00";
    case "SY":
      return GetOffset(DateTime, 4, 10, 6, 26, 0, 0, 0, 0, "2:00", "3:00");
    case "SZ":
      return "2:00";
    case "TC":
      return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00");
    case "TD":
      return "1:00";
    case "TF":
      return "5:00";
    case "TG":
      return "0:00";
    case "TH":
      return "7:00";
    case "TJ":
      return "5:00";
    case "TK":
      return "-10:00";
    case "TL":
      return "9:00";
    case "TM":
      return "5:00";
    case "TN":
      return "1:00";
    case "TO":
      return "13:00";
    case "TR":
      return GetOffset(DateTime, 3, 10, 25, 28, 3, 4, 0, 0, "2:00", "3:00");
    case "TT":
      return "-4:00";
    case "TV":
      return "12:00";
    case "TW":
      return "8:00";
    case "TZ":
      return "3:00";
    case "UA":
      return GetOffset(DateTime, 3, 10, 25, 28, 3, 4, 0, 0, "2:00", "3:00");
    case "UG":
      return "3:00";
    case "UM":
      if (Location.indexOf('Johnston') >= 0){return "-10:00"}
      else if (Location.indexOf('Wake') >= 0){return "12:00"}
      else {return "-11:00"}
    case "US":
      if (Location.indexOf('Adak') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-10:00", "-9:00")}
      else if (Location.indexOf('Wailuku') >= 0){return "-10:00"}
      else if (Location.indexOf('Hilo') >= 0){return "-10:00"}
      else if (Location.indexOf('Santa Fe') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Albuquerque') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Tucson') >= 0){return "-7:00"}
      else if (Location.indexOf('Tempe') >= 0){return "-7:00"}
      else if (Location.indexOf('Scottsdale') >= 0){return "-7:00"}
      else if (Location.indexOf('Mesa') >= 0){return "-7:00"}
      else if (Location.indexOf('Glendale, Arizona') >= 0){return "-7:00"}
      else if (Location.indexOf('Chandler') >= 0){return "-7:00"}
      else if (Location.indexOf('Yonkers') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Worcester') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Winston-Salem, Pohjois-Carolina') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Waterbury') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Washington') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Virginia Beach') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Trenton') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Tampa') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Tallahassee') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Syracuse') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Stamford') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('St Petersburg') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Springfield, Massachusetts') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('South Bend') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Savannah') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Roanoke') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Richmond') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Raleigh') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Providence') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Portsmouth') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Portland, Maine') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Pittsburgh') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Philadelphia') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Paterson') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Orlando') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Norwalk, Connecticut') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Norfolk, Virginia') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Niagara Falls') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Newport News') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Newark') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('New Haven') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('New Bedford') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Montpelier') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Miami') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Macon, Georgia') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Lowell') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Lancaster, Pennsylvania') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Knoxville') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Key West') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Jersey City') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Jacksonville') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Indianapolis') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Hollywood, FL') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Hialeah') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Hartford') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Harrisburg') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Hampton, Virginia') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Greensboro') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Fort Wayne') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Fort Lauderdale') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Fall River') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Erie') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Elizabeth City') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Durham') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Dover') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Concord, NY') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Columbia') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Clearwater, FL') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Chesapeake') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Chattanooga') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Charlotte') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Charleston, Etelä-Carolina') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Charleston, Länsi-Virginia') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Cambridge') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Buffalo') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Brockton') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Bridgeport') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Boston') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Baltimore') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Augusta') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Atlanta') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Asheville') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Arlington, Virginia') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Allentown') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Alexandria') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Albany, NY') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('West Covina') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Vallejo') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Torrance') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Thousand Oaks') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Tacoma') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Sunrise Manor') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Sunnyvale') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Stockton') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Spokane') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Simi Valley') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Seattle') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Santa Rosa') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Santa Clarita') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Santa Clara') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Santa Barbara') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('San Jose') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('San Francisco') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('San Diego') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('San Buenaventura, Kalifornia') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('San Bernardino') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Salinas') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Salem') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Sacramento') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Riverside') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Reno') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Redmond') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Rancho Cucamonga') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Portland, Oregon') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Pomona') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Pasadena, Kalifornia') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Paradise, Kalifornia') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Palo Alto') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Oxnard') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Orange') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Ontario') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Olympia') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Oceanside') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Oakland') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Norwalk, Kalifornia') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Mountain View') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Moreno Valley') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Modesto') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Long Beach') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Las Vegas') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Lancaster, Kalifornia') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Lakewood, Washingon') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Irvine') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Inglewood') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Huntington Beach') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Hollywood, CA') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Hayward') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Glendale, Kalifornia') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Garden Grove') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Fullerton') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Fresno') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Fremont') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Eugene') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Escondido') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('El Monte') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Downey') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Daly City') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Cupertino') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Costa Mesa') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Concord, Kalifornia') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Compton') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Citrus Heights') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Chula Vista') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Carson City') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Burbank') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Berkeley') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Bakersfield') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Arden-Arcade') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Anaheim') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Lexington') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Frankfort') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Youngstown') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Warren') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Toledo') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Sterling Heights') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Rochester, Michigan') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Livonia') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Lansing') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Grand Rapids') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Flint') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Dayton') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Columbus') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Cleveland') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Cincinnati') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Ann Arbor') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Akron') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Salt Lake City') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Pueblo') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Helena') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('El Paso') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Colorado Springs') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Cheyenne') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Boulder') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Billings') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Aurora, Colorado') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Aspen') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Wichita') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Wichita Falls') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Waco') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Tulsa') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Topeka') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Saint Paul') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Saint Louis') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Springfield, IL') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Springfield, Missouri') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Sioux Falls') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Shreveport') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('San Antonio') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Rockford') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Plano') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Pierre') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Peoria') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Pensacola') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Pasadena, Texas') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Paradise, Texas') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Owensboro') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Overland Park') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Omaha') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Oklahoma City') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('New Orleans') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Nashville') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Montgomery') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Mobile') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Minneapolis') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Milwaukee') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Metairie') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Mesquite') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Memphis') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Madison') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Lubbock') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Little Rock') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Lincoln') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Laredo') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Lafayette, Indiana') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Kansas City') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Jefferson City') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Jackson, Tennessee') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Independence') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Huntsville') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Houston') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Guam') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Green Bay') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Grand Prairie') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Gary') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Garland') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Galveston') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Fort Worth') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Evansville') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Diego Garcia') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Des Moines') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Davenport') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Dallas') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Corpus Christi') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Cedar Rapids') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Brownsville') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Bismarck') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Birmingham') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Beaumont') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Baton Rouge') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Austin') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Aurora, IL') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Arlington, Texas') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Amarillo') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Abilene') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Unalaska') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-9:00", "-8:00")}
      else if (Location.indexOf('Fairbanks, Cadron') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-9:00", "-8:00")}
      else if (Location.indexOf('Anchorage') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-9:00", "-8:00")}
      else if (Location.indexOf('Boise') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Chicago') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Denver') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Detroit') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Indianapolis') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Knox') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Marengo') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Petersburg') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Tell City') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Vevay') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Vincennes') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Winamac') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Juneau') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-9:00", "-8:00")}
      else if (Location.indexOf('Louisville') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Monticello') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Los Angeles') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-8:00", "-7:00")}
      else if (Location.indexOf('Menominee') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Metlakatla') >= 0){return "-8:00"}
      else if (Location.indexOf('New York') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-5:00", "-4:00")}
      else if (Location.indexOf('Nome') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-9:00", "-8:00")}
      else if (Location.indexOf('Beulah') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Center') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('New Salem') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-6:00", "-5:00")}
      else if (Location.indexOf('Phoenix') >= 0){return "-7:00"}
      else if (Location.indexOf('Shiprock') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-7:00", "-6:00")}
      else if (Location.indexOf('Sitka') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-9:00", "-8:00")}
      else if (Location.indexOf('Yakutat') >= 0){return GetOffset(DateTime, 3, 11, 11, 4, 2, 2, 0, 0, "-9:00", "-8:00")}
      else if (Location.indexOf('Honolulu') >= 0){return "-10:00"}
      else {return ""}
    case "UY":
      return GetOffset(DateTime, 10, 3, 7, 11, 2, 2, 0, 0, "-2:00", "-3:00");
    case "UZ":
      return "5:00";
    case "VA":
      return GetOffset(DateTime, 3, 10, 25, 28, 2, 3, 0, 0, "1:00", "2:00");
    case "VC":
      return "-4:00";
    case "VE":
      return "-4:30";
    case "VG":
      return "-4:00";
    case "VI":
      return "-4:00";
    case "VN":
      return "7:00";
    case "VU":
      return "11:00";
    case "WF":
      return "12:00";
    case "WS":
      return "13:00";
    case "YE":
      return "3:00";
    case "YT":
      return "3:00";
    case "ZA":
      return "2:00";
    case "ZM":
      return "2:00";
    case "ZW":
      return "2:00";
  }
}

