How the Hijri count began
Sahl ibn Sa'd (may Allah be pleased with him) said that the Companions did not count the years from the Prophet's mission or from his death, but only from his arrival in Medina (Sahih al-Bukhari 3934). It is reported that in the time of the caliph Umar ibn al-Khattab (may Allah be pleased with him) the Companions agreed to use the Hijrah as the starting point of the calendar, with Muharram as the first month. This is commonly dated to around 17 AH. The months themselves were older: Allah says that the number of months with Him is twelve (Quran 9:36).
The first day of 1 AH fell in July 622 CE. The Hijri year is lunar and lasts about 354 or 355 days, so its dates move about eleven days earlier through the Gregorian year each year. The Gregorian years below are therefore approximate, and a Hijri date converter is the best way to match a particular day.



