ISLAMIC DATE
How to find Dates in Islamic calendar??
1-First pip install Gegorian
2-Than import datetime
3-print("Calendar")
4-Than From hijri_converter import convert
5-Take any variable which is equal to datetime.datetime.now()
6-Take another variable(h) which is equal to convert.Gregorian(a.year,a.month,a.day).to_hijri()
7-print(h)
Code:
import time
import datetime
print("Calendar for The Current Year ")
print("------------------------------")
from hijri_converter import convert
a=datetime.datetime.now()
h = convert.Gregorian(a.year,a.month,a.day).to_hijri()
OutPut:
Calendar for The Current Year
------------------------------
1442-07-01