How can I get middle of night between sunset and sunrise?

Who can I get two times,
1- middle of night between Sunset and sunrise
2- middle of night between Sunset and fajr so I do not want to get just one of them?
I need to get Middle of the time of Sunset to Sunrise and Middle of the time of the time of Sunset to Fajr at the same browser, here is the javascript: [http://praytimes.org/code/v2/js/PrayTimes.js](http://praytimes.org/code/v2/js/PrayTimes.j

and here is the HTML monthly prayer times
[http://praytimes.org/code/v2/js/examples/monthly.htm](http://praytimes.org/code/v2/js/examples/monthly.htm I want to edit the Js file so I can get both times in the HTML file at the same time
what changes I needs to make to this code?

No idea what you are talking about. Can you give an example? you want to know the midpoint between a day's sunset and sunrise? seems like you can just add half the difference between sunset and sunrise to the sunset..?

It's everyday, bro

Diyar Rona

Greenhorn

Posts: 2

posted 3 weeks ago

Al Hobbs wrote:No idea what you are talking about. Can you give an example? you want to know the midpoint between a day's sunset and sunrise? seems like you can just add half the difference between sunset and sunrise to the sunset..?