Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You'd be able to do it based on the math in the article. Civil twilight lasts from sunset until the Sun is 6° below the horizon. So in the spherical law of cosines in the article, you'd just set a to be -6° instead of 0.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: