python - Get month name from number -


how can month name month number?

for instance, if have 3, want return march

date.tm_month() 

how string march?

calendar api

from can see calendar.month_name[3] return march, , array index of 0 empty string, there's no need worry zero-indexing either.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

c# - SharpSVN - How to get the previous revision? -

php cli reading files and how to fix it? -