weekday_name python 3 code example Example: python datetime get weekday name import datetime now = datetime.datetime.now() print(now.strftime("%A"))