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
?
from can see calendar.month_name[3]
return march
, , array index of 0
empty string, there's no need worry zero-indexing either.
Comments
Post a Comment