Yellow cover of Getting the Date of the Week in Python. This template resource is from 365 Data Science.

Getting the Date of the Week in Python

Ivan Manov

Ivan Manov

Course Author

This is a template demonstrating how we can estimate the day of the week with the help of the .weekday() function - part of the date class from the datetime module. The function returns an integer corresponding to the day of the week. Other related topics you might be interested in are Datetime Values in Python, Displaying Dates in Python, Attributes of the Python Date Class, Displaying Time in Python. The Getting the Date of the Week in Python template is among the topics covered in detail in the 365 Data Science program.

Ivan Manov

Ivan Manov

Course Author


Who is it for

This free Python template is essential for aspiring Data Analysts, Data Scientists, Business Analysts, Statisticians, Software Engineers, everyone who wants to works in a data-science related field.

How it can help you

The function is used for checking to which day of the week corresponds a particular date - for instance if we want to check which day was it on 23.11.2002 - we can use this approach.

Getting the Date of the Week in Python

Yellow cover of Getting the Date of the Week in Python. This template resource is from 365 Data Science.