Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3395 Zobrazení

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šit

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 Odpovědi Zobrazení Aktivita
1
čvn 18
4332
1
říj 25
11518
0
kvě 25
1390
1
dub 25
1497
2
čvc 24
3236