This Python DateTime tutorial will teach you how to get the weekday name from DateTime. You can find the weekday name from DateTime using the following code:
# Import the datetime module import datetime # Get the current date and time date_time = datetime.datetime.now() # Get the weekday name from the date and time weekday_name = date_time.strftime("%A") # Display the weekday name print("Current weekday name:", str(weekday_name))