We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how can we detect the first or last day of a jalajy month ??? example : now = 1401/6/12 first of month : 1401/6/1
and how we can walk through days??
The text was updated successfully, but these errors were encountered:
If you wish to find the last day of the month of Jalali, you can use the following method.
jalaaliMonthLength
jalaali.jalaaliMonthLength(1394, 12) // 29 jalaali.jalaaliMonthLength(1395, 12) // 30
And to walking through the month:
const getLastDayOfMonth = parseInt(jalaali.jalaaliMonthLength(1401, 6), 10); // 31 const range = Array.from({ length: getLastDayOfMonth }, (_, i) => i + 1); // [1, 2, 3, ..., 30, 31]
Sorry, something went wrong.
No branches or pull requests
how can we detect the first or last day of a jalajy month ???
example : now = 1401/6/12 first of month : 1401/6/1
and how we can walk through days??
The text was updated successfully, but these errors were encountered: