View on Packagist.
This project is open source on GitHub.
This package and the hosted API are free to use, and will always remain that way.
If you found this package useful, consider supporting me on Ko-fi.
On the Hijri calendar, a new day begins at sunset.
This is not captured by this package: the Hijri date it returns follows the Gregorian day, midnight to midnight. If this matters for your use case (for example, evening events), you can fetch and use the next Gregorian day's Hijri date.
The API also provides hijri_after_sunset for convenience.
hijri_after_sunset
d
j
D
l
F
M
m
n
Y
y
Escape a literal character with \. Example presets:
\