跳至内容
菜单
此问题已终结
3408 查看

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

形象
丢弃

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.

相关帖文 回复 查看 活动
1
6月 18
4357
1
10月 25
11585
0
5月 25
1416
1
4月 25
1527
2
7月 24
3280