Can anyone help me to change Gregorian date to Persian in JavaScript? I want to use it in HTML and JavaScript.
You can use the jalaali-js
Jalaali JavaScript A few javascript functions for converting Jalaali (Jalali, Persian, Khayyami, Khorshidi, Shamsi) and Gregorian calendar systems to each other.
Jalaali JavaScript
A few javascript functions for converting Jalaali (Jalali, Persian, Khayyami, Khorshidi, Shamsi) and Gregorian calendar systems to each other.