I want to make an Android application for an university project which calculates prayer times.
The first line in the code is:
d = jd - 2451545.0; // jd is the given Julian date
How can I obtain a Julian date?
Also, in the code RA = arctan2(cos(e)* sin(L), cos(L))/ 15;
, how does the comma work? How can I execute this statement mathematically and/or programmatically?