[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

itl library PrayerTimes



Hi Everyone,

I am trying to create a GUI for the prayer times library. So I got the code from SVN and tried it out using the  demo_prayer.c program. Here is the information I entered for Cairo,Egypt.

//////////////////
 /* fill the Date structure */
    date.day = 4;
    date.month = 10;
    date.year = 2007;
    /* fill the location info. structure */
    loc.degreeLat = 30.05;
    loc.degreeLong = 31.25;
//////////////////

And I got this output:

 4:20:42    5:49:41   11:43:50   15:06:22   17:37:32   18:57:40

While I got this from www.ahram.org.eg website

4:23          5:50        11:44       3:06          5:37         6:54

I noticed (over several days) that there is always 2-3 minutes difference in Fajr and Ishaa, between the 2 readings.

What I want to know if this is acceptable or if it's a bug in the library?

Note: They are both using the "Egyptian General Authority of Survey" method

Best Regards,
Ahmed Toulan.