0

to get number of days in month

can anyone suggest me how to get number of days in month, in simplest method in python?

19th Nov 2018, 9:29 AM
yuri
yuri - avatar
2 Antworten
0
You can use the calendar module and monthrange function, this will get you a number of the day and the days of the month.
19th Nov 2018, 10:43 AM
Luiz Santos
Luiz Santos - avatar
0
thank you. ill try it
19th Nov 2018, 10:44 AM
yuri
yuri - avatar