how to get day name from date in python code example Example: python get day name import datetime now = datetime.datetime.now() print(now.strftime("%A"))