DevTools Logo

Golden & Blue Hour

Golden & Blue Hour

Twilight, golden hour and blue hour windows from latitude and date

Location and date

Sun altitudes from astronomy-engine. Offline city catalog. Times formatted in the chosen IANA zone.

Examples

Istanbul June solstice

Input
computeSunTimes("2026-06-21", 41.0082, 28.9784)
Output
sunrise before sunset, golden-pm present

A mid-latitude summer day has both golden windows.

About this tool

Golden & Blue Hour solves sun rise, set and altitude crossings with astronomy-engine.

Golden hour is sun 0° to +6°. Blue hour follows civil twilight (−6°) to the horizon. Nautical (−12°) and astronomical (−18°) are listed too.

How to use this tool

  1. Pick a place

    Search a city or type latitude and longitude.

  2. Set the date

    Calculate, then read local clock times.

Use cases

Shoot planning

Copy the JSON window list into a shot schedule.

Common mistakes

Mistake:Reading the timeline as local hours.

Fix:The bar is UTC; the text list uses your IANA zone.

Frequently asked questions

What does this tool do?

It lists sunrise, sunset, twilight and golden/blue hour windows for a date and place.

Which library computes the sun?

astronomy-engine rise/set and altitude searches, not an HTTP weather API.

Why is the bar labeled UTC?

The stacked timeline is UTC; the printed times use your timezone.

Polar night?

Rise or set can be missing; remaining altitude crossings still list if found.

References & standards