Skip to content
New issue

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

Week #61

Closed
SudoDios opened this issue Jan 14, 2022 · 5 comments
Closed

Week #61

SudoDios opened this issue Jan 14, 2022 · 5 comments
Labels

Comments

@SudoDios
Copy link

SudoDios commented Jan 14, 2022

Hi.
How to get first week day of month
For example, the first day of the month is Tuesday

@SudoDios
Copy link
Author

i using getDayOfWeek but is wrong start weekday of month.

@samanzamani
Copy link
Owner

Hi @SudoDios
You can initiate PersianDate with desire Jalali date and after that use dayName method to get the day name in Farsi.

PersianDate pDate = new PersianDate().initJalaliDate(1400,10,1);
pDate.dayName();//It returns `چهارشنبه`

@SudoDios
Copy link
Author

No no.
I did not mean to name the day.
I want to get the first day of the week in the month (what day does the moon start)

@SudoDios
Copy link
Author

Do you really have a library for Hijri Date?

@SudoDios
Copy link
Author

I resolved

No no. I did not mean to name the day. I want to get the first day of the week in the month (what day does the moon start)

I solved my problem.
Thankful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants