Back to Claude Artifacts
Utility

PST vs PDT: sunrise, sunset and your workday

Compare sunrise and sunset under daylight saving time, permanent PST and permanent PDT against your work hours and commute.

City
Quick schedules
Definition of dark

Civil twilight is when the sun is up to 6 degrees below the horizon, giving about 25 to 30 minutes of usable light before sunrise and after sunset. When counted as daylight, a commute is dark only before civil dawn or after civil dusk.

Commute light and dark over the year

Commute in daylight Commute in the dark

Commute darkness and evening daylight pull in opposite directions; choose the measure that matters to you.

Counts the morning and evening commute on every weekday of the year, using the city, work hours and commute length above.

How the answer changes with your start time

Current (DST) Permanent PST Permanent PDT Your start time

Show the data as a table
Share of commute time in the dark by work start time
Work startsCurrent (DST)Permanent PSTPermanent PDT

Each point is the share of commute time in the dark across every weekday of the year, with the work length, commute length, city and definition of dark from the controls above. Only the start time changes.

Sunrise and sunset through the year

Each chart runs January to December with the time of day down the side. Select a day to compare it across all three.

Daylight Night Sunrise and sunset Commute in daylight Commute in the dark Work start and end

Click or drag on a chart to pick a day. With a chart focused, use the left and right arrow keys, and hold Shift to move a week.

Selected day

Option Sunrise Sunset Day length Morning commute Evening commute Daylight after work

Notes

Legislative status as of

Under current federal law, a state may choose permanent standard time (as Arizona and Hawaii do) but may not adopt permanent daylight time on its own. The House passed the Sunshine Protection Act (H.R. 139), which would allow permanent daylight time, 308 to 117 on July 14, 2026. The bill is in the Senate Commerce committee with no vote, and clocks changed on schedule on November 1, 2026. A competing bill, the Sunshine for Our Kids Act (H.R. 9638), would make standard time the default with a state opt-in to daylight time. Sleep medicine groups generally favor permanent standard time. Supporters of permanent daylight time cite brighter evenings. Sources: H.R. 139 on Congress.gov and the Sleep Foundation daylight saving time updates.

About the numbers: how this is calculated
  • Sunrise and sunset come from the NOAA solar position algorithm for the selected city's latitude and longitude, using the standard 90.833 degree zenith.
  • "In the dark" means before sunrise or after sunset. When the twilight option is on, civil twilight (sun up to 6 degrees below the horizon) counts as daylight, so dark means before civil dawn or after civil dusk.
  • Only weekdays are counted. Holidays and time off are not removed.
  • The calculation covers one calendar year, the current year. US daylight saving rules apply: second Sunday in March to first Sunday in November.
  • The commute is assumed to end when work starts and to begin when work ends, as a single block of the chosen length.
  • The morning and evening commutes are weighted equally.
  • "Daylight after work" is the time between the end of the workday and sunset (civil dusk when the twilight option is on), floored at zero and averaged over weekdays. It is a separate measure and is not combined with commute darkness.

Not measured: safety, health or sleep effects, school start times, and weekend or evening activity.

For an independent check of any sunrise or sunset time, use the NOAA sunrise/sunset calculator.