The Islamic schedule began from the year 622, all the more correctly 19 April of the Julian year of 622. It was reflectively settled in 638 by Umar receptacle Khattab, the Islamic caliph around then, as the year 1 of Hijri time. It was the point at which the Prophet Muhammad and his devotees emigrated from Mecca to Medina, known as the Islamic Calendar 2021.

To see this working, head to your live site.