Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3433 Visualizzazioni

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
Abbandona

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.

Post correlati Risposte Visualizzazioni Attività
1
giu 18
4380
1
ott 25
11663
0
mag 25
1444
1
apr 25
1569
2
lug 24
3324