Well, the Hijri date 2 Shawwal 1227 corresponds to the Gregorian date Thursday, 8 October 1812. This date lies in the tenth month of the Hijri year 1227 AH, which is Shawwal of 1227 AH. Both this Hijri and Gregorian date occur on the single day that is Thursday without any doubt. The Arabic date 1227/10/02 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 8 October 1812 to its equivalent Arabic date.
The following is the conversion of the Arabic date 2 Shawwal 1227 AH to its equivalent Gregorian date.
قَدْ نَرَىٰ تَقَلُّبَ وَجْهِكَ فِى ٱلسَّمَآءِ ۖ فَلَنُوَلِّيَنَّكَ قِبْلَةًۭ تَرْضَىٰهَا ۚ فَوَلِّ وَجْهَكَ شَطْرَ ٱلْمَسْجِدِ ٱلْحَرَامِ ۚ وَحَيْثُ مَا كُنتُمْ فَوَلُّوا۟ وُجُوهَكُمْ شَطْرَهُۥ ۗ وَإِنَّ ٱلَّذِينَ أُوتُوا۟ ٱلْكِتَٰبَ لَيَعْلَمُونَ أَنَّهُ ٱلْحَقُّ مِن رَّبِّهِمْ ۗ وَمَا ٱللَّهُ بِغَٰفِلٍ عَمَّا يَعْمَلُونَ
We have seen the turning of thy face to heaven (for guidance, O Muhammad). And now verily We shall make thee turn (in prayer) toward a qiblah which is dear to thee. So turn thy face toward the Inviolable Place of Worship, and ye (O Muslims), wheresoever ye may be, turn your faces (when ye pray) toward it. Lo! Those who have received the Scripture know that (this revelation) is the Truth from their Lord. And Allah is not unaware of what they do.
Surah Al-Baqara(2:144)