Computational Essay
Sample Content
▼
Open Guidelines
Tools
Check
Publish to Cloud
Submit to Notebook Archive
Insert Code Group
Insert Headings▼
Insert Text▼
Open/Close Groups▼

Cities of the Eastern Time Zone

PeterCullenBurbery
I explore cities in my time zone.

Time Zone

List data on the time zone of New York City NYC:
In[]:=
America/New_York
TIME ZONE
["Dataset"]
Out[]=
$Aborted
View the data in a property association:
In[]:=
America/New_York
TIME ZONE
["PropertyAssociation"]//Shallow
Out[]//Shallow=

alternate names
{US/Eastern},
coordinates
{40.7142,-74.0064},
countries

United States
,
daylight saving range
Interval
Sun 12 Mar 2023 02:00:00GMT-4
,
Sun 5 Nov 2023 02:00:00GMT-5
,
daylight saving ranges
Interval
Sun 13 Mar 2022 02:00:00GMT-4
,
Sun 6 Nov 2022 02:00:00GMT-5
,Interval
Sun 12 Mar 2023 02:00:00GMT-4
,
Sun 5 Nov 2023 02:00:00GMT-5
,
daylight saving shifts

Sun 13 Mar 2022 02:00:00GMT-4
,
Sun 6 Nov 2022 02:00:00GMT-5
,
Sun 12 Mar 2023 02:00:00GMT-4
,
Sun 5 Nov 2023 02:00:00GMT-5
,
DST time difference

0
h
0
min
0
s
,
has polygon?
True,
host city

New York City
,
latitude

40.7142
°
,14
What time zone categories are there?
In[]:=
EntityClassList["TimeZone"]
Out[]=

time zones in Africa
,
time zones in America
,
time zones in Antarctica
,
time zones in the Arctic ocean
,
time zones in Asia
,
time zones in the Atlantic ocean
,
time zones in Australia
,
time zones in Europe
,
GMT+0 time zones
,
GMT+10.5 time zones
,
GMT-10 time zones
,
GMT+10 time zones
,
GMT-11 time zones
,
GMT+11 time zones
,
GMT+12.75 time zones
,
GMT-12 time zones
,
GMT+12 time zones
,
GMT+13 time zones
,
GMT+14 time zones
,
GMT-1 time zones
,
GMT+1 time zones
,
GMT-2 time zones
,
GMT+2 time zones
,
GMT-3.5 time zones
,
GMT+3.5 time zones
,
GMT-3 time zones
,
GMT+3 time zones
,
GMT+4.5 time zones
,
GMT-4 time zones
,
GMT+4 time zones
,
GMT+5.5 time zones
,
GMT+5.75 time zones
,
GMT-5 time zones
,
GMT+5 time zones
,
GMT+6.5 time zones
,
GMT-6 time zones
,
GMT+6 time zones
,
GMT-7 time zones
,
GMT+7 time zones
,
GMT+8.75 time zones
,
GMT-8 time zones
,
GMT+8 time zones
,
GMT-9.5 time zones
,
GMT+9.5 time zones
,
GMT-9 time zones
,
GMT+9 time zones
,
GMT offset time zones
,
time zones in the Indian ocean
,
time zones in the Pacific ocean
,
time zones

What time zones are GMT-5?
In[]:=
EntityList
GMT-5 time zones
TIME ZONES

Out[]=

America/Atikokan
,
America/Bogota
,
America/Cancun
,
America/Cayman
,
America/Detroit
,
America/Eirunepe
,
America/Grand_Turk
,
America/Guayaquil
,
America/Havana
,
America/Indiana/Indianapolis
,
America/Indiana/Marengo
,
America/Indiana/Petersburg
,
America/Indiana/Vevay
,
America/Indiana/Vincennes
,
America/Indiana/Winamac
,
America/Iqaluit
,
America/Jamaica
,
America/Kentucky/Louisville
,
America/Kentucky/Monticello
,
America/Lima
,
America/Montreal
,
America/Nassau
,
America/New_York
,
America/Nipigon
,
America/Panama
,
America/Pangnirtung
,
America/Port-au-Prince
,
America/Rio_Branco
,
America/Thunder_Bay
,
America/Toronto

Where are the time zones?
In[]:=
GMT-5 time zones
TIME ZONES

host city

Out[]=

Atikokan
,
Bogotá
,
Cancun
,
George Town
,
Detroit
,
Eirunepe
,
Back Salina
,
Guayaquil
,
Havana
,
Indianapolis
,
Jeffersonville
,
Petersburg
,
Lawrenceburg
,
Vincennes
,
Winamac
,
Iqaluit
,
Kingston
,
Louisville
,
Monticello
,
Lima
,
Montreal
,
Nassau
,
New York City
,
Nipigon
,
Panama
,
Pangnirtung
,
Port-au-Prince
,
Rio Branco
,
Thunder Bay
,
Toronto

Make a map:
In[]:=
ResourceFunction["BirdSay"]GeoListPlot
GMT-5 time zones
TIME ZONES

host city
,GeoBackground->{"Coastlines","VectorBusiness"}
Out[]=
Find the geo bounds:
In[]:=
GeoBoundingBox
GMT-5 time zones
TIME ZONES

Out[]=
{GeoPosition[{-18.3497,-92.2672}],GeoPosition[{83.1106,-57.1}]}
In[]:=
GeoBounds
GMT-5 time zones
TIME ZONES

Out[]=
{{-18.3497,83.1106},{-92.2672,-57.1}}
Make a map of the bounds of the cities and the time zone:
In[]:=
ResourceFunction["BirdSay"]GeoGraphicsAppendGeoMarker/@
GMT-5 time zones
TIME ZONES

host city
,GeoBoundsRegion
GMT-5 time zones
TIME ZONES
,GeoBackground->"VectorWeb",ImageSize->Full​​
The markers are scaled down so they don't overlap with Scaled.
In[]:=
ResourceFunction["BirdSay"]GeoGraphicsAppendGeoMarker[#,"Scale"->Scaled[0.03]]&/@
GMT-5 time zones
TIME ZONES

host city
,GeoBoundsRegion
GMT-5 time zones
TIME ZONES
,GeoBackground->"VectorWeb",ImageSize->Full​​
Out[]=
Find the bounds of the host cities.
Plot the bounds only:
Find the spatial median:
Add it to the map:
Sort the cities by distance:
Store the cities for reference
Find a shortest tour through all the cities: