What day is it?
You can use the `datetime` module in Python to get the current date. Here's a simple example: ```python import datetime def get_current_date(): """ Returns the current date. """ current_date = datetime.date.today() return current_date # Example usage: current_date = get_current_date() print(current_date) ``` This will print the current date in the format `YYYY-MM-DD`. If you want to get the current day of the week, you can use the `strftime` method: ```python import datetime def get_current_day_of_week(): """ Returns the current day of the week. """ current_date = datetime.date.today() return current_date.strftime("%A") # Example usage: current_day_of_week = get_current_day_of_week() print(current_day_of_week) ``` This will print the current day of the week (e.g., Monday, Tuesday, etc.). Note: The `strftime` method uses the following format codes: - `%A`: Full weekday name - `%a`: Abbreviated weekday name - `%B`: Full month name - `%b`: Abbreviated month name - `%Y`: Four-digit year - `%m`: Two-digit month - `%d`: Two-digit day of the month - `%H`: 24-hour clock hour - `%I`: 12-hour clock hour - `%M`: Minute - `%S`: Second