datetime question

Victor Subervi victorsubervi at gmail.com
Fri Oct 30 16:03:32 EDT 2009


Hi;
I have this code:

today = datetime.date.today()
day = today.day
mo = today.month
yr = today.year

Works great. What I need to calculate is the length of days in the
given month. How do I do that?
TIA,
Victor



More information about the Python-list mailing list