Skip to Content
Menu
This question has been flagged
3420 Zobrazenia

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

Avatar
Zrušiť

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.

Related Posts Replies Zobrazenia Aktivita
1
jún 18
4373
1
okt 25
11633
0
máj 25
1426
1
apr 25
1538
2
júl 24
3306