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

سوال درمورد استفاده تاریخ #6

Closed
majnouni opened this issue Dec 8, 2017 · 3 comments
Closed

سوال درمورد استفاده تاریخ #6

majnouni opened this issue Dec 8, 2017 · 3 comments
Labels

Comments

@majnouni
Copy link

majnouni commented Dec 8, 2017

سلام روز بخیر ، تابع های استفاده شده خیلی خوب بود و فقط یه سوال که
مثلا چه جوری میشه یه تاریخ به تابع بدیم و روز هفته رو بهمون برگردونه
ممنون

@Mds92 Mds92 added the question label Dec 8, 2017
@Mds92
Copy link
Owner

Mds92 commented Dec 8, 2017

سلام
این تابع مورد نیاز شما مربوط به دیت پیکر نیست
مربوط میشه به تقویم فارسی که باید از آبجکت دیت جاوا اسکریپت استفاده کنید

@majnouni
Copy link
Author

majnouni commented Dec 8, 2017

یعنی فایل کتابخانه ای شما این امکان رو نمیده ؟

الان نمونه کد را لینکی دارید که من چک کنم
ممنونم

@Mds92
Copy link
Owner

Mds92 commented Feb 25, 2018

ببخشید من به اشتباه پاسخ دادم
پاسخ صحیح

var persianDateTime = new PersianDateTime(1396, 12, 06);
var dayOfWeek = persianDateTime.DayOfWeek;

@Mds92 Mds92 closed this as completed Feb 25, 2018
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