Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3402 Widoki

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

Awatar
Odrzuć

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.

Powiązane posty Odpowiedzi Widoki Czynność
1
cze 18
4341
1
paź 25
11527
0
maj 25
1391
1
kwi 25
1501
2
lip 24
3240