This is a TypeScript library that allows you to working with Jalali Calendar system.
en2fa(value)
: Convert a English number to Persian digit charactersisLeapYear(year)
: Check a Jalali year is a leap year or notdaysOfYear(year)
: Count number of days in a Jalali yeardaysOfMonth(year, month)
: Count number of month in a Jalali yearjalaliDate(yearnull, monthnull, daynull)
: Convert a Gregorian date to Jalali datedaysOfYearUntilDate(year, month, day)
: Count number of days until a Jalali datediffDays(year1, month1, day1, year2, month2, day2)
: Count number of days between two Jalali datesfirstDayOfYear(year)
: Get first day of a Jalali yearfirstDayOfMonth(year, month)
: Get first day of a Jalali month
- Max Base: Creator
- Mohamad Shiralizadeh: TS package
© Copyright Max Base, 2022