Getting the Date of the Week in Python
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.
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.