Template:GetPersianDate: Difference between revisions
Jump to navigation
Jump to search
(→Syntax) |
No edit summary |
||
Line 6: | Line 6: | ||
getPersianDate() | getPersianDate() | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== Returns === | |||
* '''year''': The Persian (Jalali) year. | |||
* '''month''': The Persian (Jalali) month. | |||
* '''day''': The Persian (Jalali) day. |
Revision as of 21:51, 14 January 2025
getPersianDate
This function calculates and returns the Persian (Jalali) date based on the server's real time.
Syntax
getPersianDate()
Returns
- year: The Persian (Jalali) year.
- month: The Persian (Jalali) month.
- day: The Persian (Jalali) day.