Calculates sunrise and sunset for the current day of the year and given latitude and longitude.
Must be used for the "iFlags" parameter of the Sun_GetDayLimit() function if the sunrise and sunset should be returned in UTC
The function returns the day of the year, starting with 1 (January 1st).
This functioncan be used to calculate sunrise and sunset for the current day of the year and given latitude and longitude.
The information that is needed for sunrise and sunset calculation can be split up to two parts: