Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
3432 Prikazi

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
Opusti

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 Odgovori Prikazi Aktivnost
1
jun. 18
4379
1
okt. 25
11654
0
maj 25
1436
1
apr. 25
1556
2
jul. 24
3312