Repository navigation
V1.1.0
·
34 commits
to master
since this release
New Date Formatting Methods
I've added three new methods to the library for enhanced date formatting:
-
getFullDate(): String: This method returns the full Persian date in the format "YYYY/MM/DD". For example, if today is June 11, 2025, it might return "1404/03/22" (assuming the current Persian date).
-
getPersianMonthNameAndPersianYear(): String: Use this method to get the Persian month name and year. For instance, it would return something like "خرداد 1404"
-
getMiladiFullDate(): String: This method provides the full Gregorian (Miladi) date in the "YYYY/MM/DD" format. For example, it would return "2025/06/11" for today's date.
These additions give you more flexibility in displaying and working with both Persian and Gregorian dates within your applications.