تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3423 أدوات العرض

Hi,

What I need is,I need no of weeks in a month,on the basis of that I need to find the no of submitted timesheets.

I need to display the number of submitted timesheets of the month

Thanks in advance

الصورة الرمزية
إهمال

Try this one

import calendar

calendar.month(year, month).count('\n') - 2

I try this and its work correctly.

Can you give some idea for how to split month and year from current date field.

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يونيو 18
4376
1
أكتوبر 25
11645
0
مايو 25
1429
1
أبريل 25
1542
2
يوليو 24
3307