Convert a Hijri date to Gregorian (and a Gregorian date to Hijri)

Convert an Umm al-Qura Hijri date to a Gregorian date, or the other way round, with weekday and an after-sunset option.

The Hijri day starts at sunset: tick this for an event that takes place in the evening.