The Islamic Calendar, which is based purely on lunar cycles, was first introduced in 638 C.E. by the close companion of the Prophet (PBUH) and the second Caliph, `Umar ibn Al-KHaTTab did it in an attempt to rationalize the various, at times conflicting, dating systems used during his time. `Umar consulted with his advisors on the starting date of the new Muslim chronology. It was finally agreed that the most appropriate reference point for the Islamic calendar was the Hijrah. The actual starting date for the calendar was chosen (on the basis of purely lunar years, counting backwards) to be the first day of the first month (1 MuHarram) of the year of the Hijrah.
اعتمد العرب في الجاهلية وقبل بعثة النبي في تحديد الزمن على التقويم القمري، والذي يعتمد على دورة القمر لتحديد الأشهر، وظل العرب يعملون بهذا التقويم حتى الخليفة أبو بكر الصديق.
وفي عهد أمير المؤمنين عمر بن الخطاب حاول الصحابة وضع تقويم إسلامي فاقترح البعض أن يبدأ هذا التقويم بغزوة بدر، واقترح البعض الآخر البدء بتاريخ بعثة النبي ، واقترح الخليفة عمر بن الخطاب هجرة الرسول () من مكة إلى المدينة مرجعاً لأول سنة فيه فوافق الصحابة.
وهذا هو سبب تسميته التقويم الهجري وأجمعوا على أن يكون شهر محرم هو بداية هذا التقويم.وهو اول شهر بالسنة الهجرية