Financial Risk Management
Home
>
Date And Time
>
Time Zones
>
Time Zone Converter
> Local time in some US cities from New York local time
Overall Test Results
Requirements
Themes
Capabilities
Features
Report generated 11-04-2023 10:42
Time Zone Converter
Windows
Time Zone
Local time in some US cities from New York local time
Scenario Outline
Given the datetime 2021-10-06T09:06:40 in time zone "America/New_York"
When conversion is done to time zone <tzid>
Then The local date time should be <date time>
Examples:
#
Tz Name
Offset
Example Country
Example City
Tzid
Date Time
1
Hawaii Standard Time (HST)
UTC -10
US
Honolulu
Pacific/Honolulu
2021-10-06T03:06:40
2
Hawaii-Aleutian Daylight Time (HDT)
UTC -9
US
Adak
America/Adak
2021-10-06T04:06:40
3
Alaska Daylight Time (AKDT)
UTC -8
US
Anchorage
America/Anchorage
2021-10-06T05:06:40
4
Pacific Daylight Time (PDT)
UTC -7
US
Los Angeles
America/Los_Angeles
2021-10-06T06:06:40
5
Mountain Standard Time (MST)
UTC -7
US
Phoenix
America/Phoenix
2021-10-06T06:06:40
6
Mountain Daylight Time (MDT)
UTC -6
US
Denver
America/Denver
2021-10-06T07:06:40
7
Central Daylight Time (CDT)
UTC -5
US
Chicago
America/Chicago
2021-10-06T08:06:40
8
Eastern Daylight Time (EDT)
UTC -4
US
Detroit
America/Detroit
2021-10-06T09:06:40
Steps
Outcome
1: Local time in some US cities from New York local time ({tz name=Hawaii Standard Time (HST), Offset=UTC -10, example country=US, example city=Honolulu, tzid=Pacific/Honolulu, date time=2021-10-06T03:06:40})
SUCCESS
070ms
Given the datetime 2021-10-06T09:06:40 in time zone "America/New_York"
SUCCESS
004ms
When conversion is done to time zone Pacific/Honolulu
SUCCESS
Then The local date time should be 2021-10-06T03:06:40
SUCCESS
059ms
2: Local time in some US cities from New York local time ({tz name=Hawaii-Aleutian Daylight Time (HDT), Offset=UTC -9, example country=US, example city=Adak, tzid=America/Adak, date time=2021-10-06T04:06:40})
SUCCESS
071ms
Given the datetime 2021-10-06T09:06:40 in time zone "America/New_York"
SUCCESS
002ms
When conversion is done to time zone America/Adak
SUCCESS
001ms
Then The local date time should be 2021-10-06T04:06:40
SUCCESS
063ms
3: Local time in some US cities from New York local time ({tz name=Alaska Daylight Time (AKDT), Offset=UTC -8, example country=US, example city=Anchorage, tzid=America/Anchorage, date time=2021-10-06T05:06:40})
SUCCESS
067ms
Given the datetime 2021-10-06T09:06:40 in time zone "America/New_York"
SUCCESS
003ms
When conversion is done to time zone America/Anchorage
SUCCESS
001ms
Then The local date time should be 2021-10-06T05:06:40
SUCCESS
058ms
4: Local time in some US cities from New York local time ({tz name=Pacific Daylight Time (PDT), Offset=UTC -7, example country=US, example city=Los Angeles, tzid=America/Los_Angeles, date time=2021-10-06T06:06:40})
SUCCESS
064ms
Given the datetime 2021-10-06T09:06:40 in time zone "America/New_York"
SUCCESS
003ms
When conversion is done to time zone America/Los_Angeles
SUCCESS
Then The local date time should be 2021-10-06T06:06:40
SUCCESS
058ms
5: Local time in some US cities from New York local time ({tz name=Mountain Standard Time (MST), Offset=UTC -7, example country=US, example city=Phoenix, tzid=America/Phoenix, date time=2021-10-06T06:06:40})
SUCCESS
069ms
Given the datetime 2021-10-06T09:06:40 in time zone "America/New_York"
SUCCESS
002ms
When conversion is done to time zone America/Phoenix
SUCCESS
001ms
Then The local date time should be 2021-10-06T06:06:40
SUCCESS
062ms
6: Local time in some US cities from New York local time ({tz name=Mountain Daylight Time (MDT), Offset=UTC -6, example country=US, example city=Denver, tzid=America/Denver, date time=2021-10-06T07:06:40})
SUCCESS
071ms
Given the datetime 2021-10-06T09:06:40 in time zone "America/New_York"
SUCCESS
002ms
When conversion is done to time zone America/Denver
SUCCESS
Then The local date time should be 2021-10-06T07:06:40
SUCCESS
064ms
7: Local time in some US cities from New York local time ({tz name=Central Daylight Time (CDT), Offset=UTC -5, example country=US, example city=Chicago, tzid=America/Chicago, date time=2021-10-06T08:06:40})
SUCCESS
069ms
Given the datetime 2021-10-06T09:06:40 in time zone "America/New_York"
SUCCESS
002ms
When conversion is done to time zone America/Chicago
SUCCESS
001ms
Then The local date time should be 2021-10-06T08:06:40
SUCCESS
061ms
8: Local time in some US cities from New York local time ({tz name=Eastern Daylight Time (EDT), Offset=UTC -4, example country=US, example city=Detroit, tzid=America/Detroit, date time=2021-10-06T09:06:40})
SUCCESS
078ms
Given the datetime 2021-10-06T09:06:40 in time zone "America/New_York"
SUCCESS
004ms
When conversion is done to time zone America/Detroit
SUCCESS
001ms
Then The local date time should be 2021-10-06T09:06:40
SUCCESS
070ms
SUCCESS
0.59s
Serenity BDD version 3.6.22