Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I have a given date at any time in future or past eg: 2016-04-23 or 2022-05-12
Now given at any location(lat,lng). How do i find the time of sunrise or sunset.
Just use one of the numerous free websites that give this data:
Check out the sunrise equation