Convert-gregorian-date-to-persian-date-jquery Apr 2026
: A lightweight (~14k minified) plugin that supports both Gregorian to Jalali conversion and beautiful themes.
: Highly customizable and designed specifically for selecting Persian dates with various options.
Several plugins provide both conversion and UI elements like date pickers: convert-gregorian-date-to-persian-date-jquery
: A lightweight plugin that requires the PersianDate library to handle complex date systems.
// Get current date in Persian (Fa-IR) format with Latin numbers const date = new Date(); const persianDate = new Intl.DateTimeFormat('fa-IR-u-nu-latn', { year: 'numeric', month: '2-digit', day: '2-digit' }).format(date); console.log(persianDate); // Example Output: 1403/01/09 Use code with caution. Copied to clipboard 3. Using JavaScript Libraries : A lightweight (~14k minified) plugin that supports
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
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 // Get current date in Persian (Fa-IR) format
: Provides core functions like toJalaali(gy, gm, gd) for manual conversions. Free jQuery persian Plugins