Site icon Database Tutorials

How To Convert Gregorian Date to Hijri Date or Hijri Date to Gregorian Date

A friend ask to me to conversion about gregorian date to hijri date or hijri date to gregorian date. I will explan this conversions in this article.

First create a table with datetime datatype and insert a record on it.

Convert Gregorian Date to Hijri Date:

Convert Hijri Date to Gregorian Date:

Exit mobile version