0
Answered
Evgeny Zhenya 10 months ago • updated by Michael J. Radwin 9 months ago 1

Shalom

How do I write the function that shows sunset & nightfall (3 stars) PER DAY depending on location?


Thank you

Answered

If you're looking for general-purpose functions, there are a variety in each programming language. For example in JavaScript you might use this https://github.com/mourner/suncalc


And in PHP you might use this http://php.net/manual/en/function.date-sun-info.php