Well, the Hijri date 17 Safar 1239 corresponds to the Gregorian date Wednesday, 22 October 1823. This date lies in the second month of the Hijri year 1239 AH, which is Safar of 1239 AH. Both this Hijri and Gregorian date occur on the single day that is Wednesday without any doubt. The Arabic date 1239/02/17 is calculated using the Umm Al-Qura calendar and the sighting of the moon. One thing to remember is that this Arabic date may occur on different Gregorian date depending upon the region and country and obviously the moon.
If you are still not sure about the date then you can use our Arabic date converter.
The following is the conversion of the Gregorian date 22 October 1823 to its equivalent Arabic date.
The following is the conversion of the Arabic date 17 Safar 1239 AH to its equivalent Gregorian date.
وَلَمَّا سُقِطَ فِىٓ أَيْدِيهِمْ وَرَأَوْا۟ أَنَّهُمْ قَدْ ضَلُّوا۟ قَالُوا۟ لَئِن لَّمْ يَرْحَمْنَا رَبُّنَا وَيَغْفِرْ لَنَا لَنَكُونَنَّ مِنَ ٱلْخَٰسِرِينَ
And when they feared the consequences thereof and saw that they had gone astray, they said: Unless our Lord have mercy on us and forgive us, we verily are of the lost.
Surah Al-A'raaf(7:149)