Se rendre au contenu
Menu
Cette question a été signalée
3424 Vues

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
Ignorer

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.

Publications associées Réponses Vues Activité
1
juin 18
4376
1
oct. 25
11648
0
mai 25
1430
1
avr. 25
1544
2
juil. 24
3309