Function to calculate night time along a travel
€8-30 EUR
Paid on delivery
I need a javascript function that will calculate the night time along a journey between point A and B.
The parameters of the function are :
- the date as timestamp in ms,
- point A and B coordinates as (degrees that are positive to the north, degrees that are positive to the east),
- departure time and arrival time in UTC as HHmm,
The function should return how many minutes the journey was during the night time (which is when the sun is more than 6 degrees below the horizon).
Project ID: #14626822
About the project
6 freelancers are bidding on average €23 for this job
I have already got it done. If you accept I woud only send it for you. am really good with these javascript functions I guess xD