Project: YugabyteDB (App Definition and Development / Database)
File: canonical-real-country-with-dst.md

title: Real timezones that observe DST [YSQL] headerTitle: Real timezones that observe Daylight Savings Time linkTitle: Real timezones with DST description: Real timezones with DST table. [YSQL] menu: v2.18: identifier: canonical-real-country-with-dst parent: extended-timezone-names weight: 20 type: docs This table shows canonically-named timezones that are associated with a specific country or regionin other words, they are real timezones. It selects the timezones that observe Daylight Savings Time using the predicate stdoffset <> dstoffset. The results that the table below presents are based on the view canonicalrealcountrywithdst and are ordered by the utcoffset column and then by the name_ column. Trivial code adds the Markdown table

The view is defined thus: ```plpgsql drop view if exists canonicalrealcountrywithdst cascade; create view canonicalrealcountrywithdst as select name, std_abbrev, dst_abbrev, std_offset, dst_offset, country_code, region_coverage from extendedtimezonenames where lower(status) = 'canonical' and stdoffset <> dstoffset and country_code is not null and country_code <> '' and lat_long is not null and lat_long <> '' and name not like '%0%' and name not like '%1%' and name not like '%2%' and name not like '%3%' and name not like '%4%' and name not like '%5%' and name not like '%6%' and name not like '%7%' and name not like '%8%' and name not like '%9%' and lower(name) not in (select lower(abbrev) from pgtimezonenames) and lower(name) not in (select lower(abbrev) from pgtimezoneabbrevs); ``` Here is the result: | Name | STD abbrev | DST abbrev | STD offset | DST offset | Country code | Region coverage | | - | --| --| - | - | | | | America/Adak | HST | HDT | -10:00 | -09:00 | US | Aleutian Islands | | America/Anchorage | AKST | AKDT | -09:00 | -08:00 | US | Alaska (most areas) | | America/Juneau | AKST | AKDT | -09:00 | -08:00 | US | Alaska - Juneau area | | America/Metlakatla | AKST | AKDT | -09:00 | -08:00 | US | Alaska - Annette Island | | America/Nome | AKST | AKDT | -09:00 | -08:00 | US | Alaska (west) | | America/Sitka | AKST | AKDT | -09:00 | -08:00 | US | Alaska - Sitka area | | America/Yakutat | AKST | AKDT | -09:00 | -08:00 | US | Alaska - Yakutat | | America/Los_Angeles | PST | PDT | -08:00 | -07:00 | US | Pacific | | America/Tijuana | PST | PDT | -08:00 | -07:00 | MX | Pacific Time US - Baja California | | America/Vancouver | PST | PDT | -08:00 | -07:00 | CA | Pacific - BC (most areas) | | America/Boise | MST | MDT | -07:00 | -06:00 | US | Mountain - ID (south); OR (east) | | America/Cambridge_Bay | MST | MDT | -07:00 | -06:00 | CA | Mountain - NU (west) | | America/Chihuahua | MST | MDT | -07:00 | -06:00 | MX | Mountain Time - Chihuahua (most areas) | | America/Denver | MST | MDT | -07:00 | -06:00 | US | Mountain (most areas) | | America/Edmonton | MST | MDT | -07:00 | -06:00 | CA | Mountain - AB; BC (E); SK (W) | | America/Inuvik | MST | MDT | -07:00 | -06:00 | CA | Mountain - NT (west) | | America/Mazatlan | MST | MDT | -07:00 | -06:00 | MX | Mountain Time - Baja California Sur, Nayarit, Sinaloa | | America/Ojinaga | MST | MDT | -07:00 | -06:00 | MX | Mountain Time US - Chihuahua (US border) | | America/Yellowknife | MST | MDT | -07:00 | -06:00 | CA | Mountain - NT (central) | | America/Bahia_Banderas | CST | CDT | -06:00 | -05:00 | MX | Central Time - Baha de Banderas | | America/Chicago | CST | CDT | -06:00 | -05:00 | US | Central (most areas) | | America/Indiana/Knox | CST | CDT | -06:00 | -05:00 | US | Central - IN (Starke) | | America/Indiana/Tell_City | CST | CDT | -06:00 | -05:00 | US | Central - IN (Perry) | | America/Matamoros | CST | CDT | -06:00 | -05:00 | MX | Central Time US - Coahuila, Nuevo Len, Tamaulipas (US border)