Convert-gregorian-date-to-persian-date-jquery Apr 2026

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

: An extension of Moment.js that allows you to parse a Gregorian date and format it as Jalali.

: A lightweight (~14k minified) plugin that supports both Gregorian to Jalali conversion and beautiful themes. convert-gregorian-date-to-persian-date-jquery

: A lightweight plugin that requires the PersianDate library to handle complex date systems.

Several plugins provide both conversion and UI elements like date pickers: For a modern approach without a heavy plugin,

: Works without external libraries and supports custom date formats. 2. Using Native JavaScript (Library-Free)

// 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

If you need complex manipulation (like adding days or changing time zones) before displaying the date in jQuery, these libraries are industry standards: