Package Information
Released: 5/30/2025
Downloads: 39 weekly / 85 monthly
Latest Version: 1.2.2
Author: Plusin
Documentation
Persian Date Converter for n8n
For n8n Enterprise License purchase, contact: @pllusin on Telegram
A custom n8n node package that provides bidirectional conversion between Gregorian and Persian (Jalali) calendar dates with extensive formatting options.
Features
1. To Jalali Node
Convert Gregorian dates to Persian calendar with various input and output formats.
Input Types
Complete Date: Accept dates in various formats:
- ISO Format:
2025-05-29T14:36:27.514-04:00 - Text Format:
May 29th 2025, 2:36:27 pm - Standard Format:
2025/05/29
- ISO Format:
Separate Values: Input year, month, and day separately
- All fields are optional
- Output adjusts based on provided input values
Output Formats
Predefined Formats:
- Day and Month:
25 Esfand - Full Date:
25 Esfand 1402 - Date and Time:
25 Esfand 1402 14:30:45 - Month and Year:
Esfand 1402 - Full Text:
Monday 3 Khordad 1402 - Short Date:
02/12/25 - Short Month Year:
12/02 - Weekday and Date:
Monday 25 Esfand - Year Month Day:
1402 Esfand 25 - Standard Format:
1402/12/25
- Day and Month:
Additional Features:
- Persian numeral conversion (۰۱۲۳۴۵۶۷۸۹)
- Individual numeric components (year, month, day)
- Persian month names
- Persian weekday names
2. From Jalali Node
Convert Persian calendar dates to Gregorian with multiple output formats.
Input Types
Complete Date: Persian date in YYYY/MM/DD format
- Supports both English (1402/12/25) and Persian (۱۴۰۲/۱۲/۲۵) numerals
Separate Values: Input year, month, and day separately
- Month selection from Persian names (Farvardin to Esfand)
- Numeric inputs for year and day
Output Formats
- All Formats: Get all available formats at once
- ISO String:
2025-05-29T14:36:27.514Z - Timestamp (milliseconds): Unix timestamp in milliseconds
- Timestamp (seconds): Unix timestamp in seconds
- Date String:
Thu May 29 2025 - Localized String:
5/29/2025, 2:36:27 PM - Standard Format:
2025/05/29
Installation
Via n8n User Interface
- Navigate to Settings > Community Nodes
- Click Install
- Enter
n8n-nodes-persiandate - Click Install
Via Command Line
npm install n8n-nodes-persiandate
Usage Guide
To Jalali Node
- Add the To Jalali node to your workflow
- Select input type:
- Complete Date: For full date input
- Separate Values: For individual components
- Choose desired output format
- Enable additional options as needed
From Jalali Node
- Add the From Jalali node to your workflow
- Select input type:
- Complete Date: For full Persian date input
- Separate Values: For individual components
- Choose desired output format (or "All Formats" to get all)
Examples
To Jalali Conversion
Input:
{
"timestamp": "2025-05-29T14:36:27.514-04:00",
"readable": "May 29th 2025, 2:36:27 pm"
}
Output:
{
"jalaliDate": "1404/03/08",
"jalaliYear": 1404,
"jalaliMonth": 3,
"jalaliMonthName": "Khordad",
"jalaliDay": 8,
"jalaliWeekday": "Thursday"
}
From Jalali Conversion
Input:
{
"date": "1404/03/08"
}
Output (with "All Formats"):
{
"iso": "2025-05-29T10:36:27.514Z",
"timestamp": 1748577787514,
"timestampSeconds": 1748577787,
"dateString": "Thu May 29 2025",
"localized": "5/29/2025, 2:36:27 PM",
"standard": "2025/05/29",
"utc": "Thu, 29 May 2025 10:36:27 GMT",
"time": "10:36:27 GMT+0000"
}
Persian Month Names
- Farvardin (فروردین)
- Ordibehesht (اردیبهشت)
- Khordad (خرداد)
- Tir (تیر)
- Mordad (مرداد)
- Shahrivar (شهریور)
- Mehr (مهر)
- Aban (آبان)
- Azar (آذر)
- Dey (دی)
- Bahman (بهمن)
- Esfand (اسفند)
Compatibility
- Tested with n8n version 1.19.3
- Requires Node.js version 20.15 or higher
Support
For support or feature requests, please contact @pllusin on Telegram.
License
MIT