Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DataCamp_Notes/Working with Dates and Times in Python.txt
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ from datetime import date
andrew = date(1992, 8, 26)

# Print the date in the format 'MONTH (YYYY)'
print(andrew.strftime('%MM (%Y)'))
print(andrew.strftime('%B (%Y)'))

Print andrew in the format 'YYYY-DDD' where DDD is the day of the year.

Expand Down