Golden & Blue Hour
Twilight, golden hour and blue hour windows from latitude and date
Sun altitudes from astronomy-engine. Offline city catalog. Times formatted in the chosen IANA zone.
Examples
Istanbul June solstice
computeSunTimes("2026-06-21", 41.0082, 28.9784)sunrise before sunset, golden-pm presentA 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
Pick a place
Search a city or type latitude and longitude.
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.
Related guides
References & standards
Related tools
Bill Tracker
Track subscriptions, memberships and recurring bills on a private paid/skipped calendar.
Pill Tracker
Track supplements by meal, empty or with food, and mark taken or skipped on a private calendar.
JavaScript Playground
Write JavaScript, press Run, and read console output in your browser.
TypeScript Playground
Compile TypeScript to JavaScript in your tab and inspect console output.
Dart Playground
Write Dart, press Run, and see print output in your browser.
Ruby Playground
Run Ruby in your browser with ruby.wasm. First Run downloads the VM, then caches it.