You are viewing a single comment's thread. Return to all comments →
import calendar day = 5 month = 8 year = 2015 day_index = calendar.weekday(year,month,day) day_name = calendar.day_name[day_index].upper() print(day_name)
Seems like cookies are disabled on this browser, please enable them to open this website
Calendar Module
You are viewing a single comment's thread. Return to all comments →
import calendar day = 5 month = 8 year = 2015 day_index = calendar.weekday(year,month,day) day_name = calendar.day_name[day_index].upper() print(day_name)