From 035ab5379289466fbcc16d5d74eecdff04958347 Mon Sep 17 00:00:00 2001 From: Anshuadhikari Date: Mon, 10 May 2021 17:22:58 +0545 Subject: [PATCH] Update Working with Dates and Times in Python.txt their should be %B according to the instruction --- DataCamp_Notes/Working with Dates and Times in Python.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DataCamp_Notes/Working with Dates and Times in Python.txt b/DataCamp_Notes/Working with Dates and Times in Python.txt index af8e3a5..8500901 100644 --- a/DataCamp_Notes/Working with Dates and Times in Python.txt +++ b/DataCamp_Notes/Working with Dates and Times in Python.txt @@ -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.