If you need complex manipulation (like adding days or changing time zones) before displaying the date in jQuery, these libraries are industry standards:
: Provides core functions like toJalaali(gy, gm, gd) for manual conversions. Free jQuery persian Plugins
For a modern approach without a heavy plugin, you can use the built-in Intl.DateTimeFormat object. This is highly performant and doesn't require jQuery, though it can easily be wrapped in a jQuery function. javascript
: Works without external libraries and supports custom date formats. 2. Using Native JavaScript (Library-Free)
: A lightweight (~14k minified) plugin that supports both Gregorian to Jalali conversion and beautiful themes.
Several plugins provide both conversion and UI elements like date pickers:
Converting Gregorian dates to the Persian (Jalali) calendar in jQuery can be handled through specialized plugins or native JavaScript methods. 1. Using Dedicated jQuery Plugins