Question: You received the following date in string format. date _ string = Feb 2 5 2 0 1 8 6 : 3 0 PM

You received the following date in string format.
date_string = "Feb 2520186:30PM"
Please convert it into Pythons DateTime object and print it to the console. Expected Output:
2018-02-2518:30:00
After converting it, do the following:
1. Find the day of the week of this given date
2. Add a week (7 days) and 12 hours to this given date, and convert it back to the original string format.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!