Well, the Hijri date 12 Muharram 1227 corresponds to the Gregorian date Sunday, 26 January 1812. This date lies in the first month of the Hijri year 1227 AH, which is Muharram of 1227 AH. Both this Hijri and Gregorian date occur on the single day that is Sunday without any doubt. The Arabic date 1227/01/12 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 26 January 1812 to its equivalent Arabic date.
The following is the conversion of the Arabic date 12 Muharram 1227 AH to its equivalent Gregorian date.
وَأَمَّا ثَمُودُ فَهَدَيْنَٰهُمْ فَٱسْتَحَبُّوا۟ ٱلْعَمَىٰ عَلَى ٱلْهُدَىٰ فَأَخَذَتْهُمْ صَٰعِقَةُ ٱلْعَذَابِ ٱلْهُونِ بِمَا كَانُوا۟ يَكْسِبُونَ
And as for Thamud, We gave them guidance, but they preferred blindness to the guidance, so the bolt of the doom of humiliation overtook them because of what they used to earn.
Surah Fussilat(41:17)