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? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -