Question: Must be in Python 3, thank you! The ISO 8601 Standard date format for Information Interchange indicates that a date be written as such: YYYY-MM-DD

Must be in Python 3, thank you!

The ISO 8601 Standard date format for Information Interchange indicates that a date be written as such:

YYYY-MM-DD

You are to write a program which converts dates into ISO 8601 form.

* Enter a date in the business formatDD-MMMM-YYYY(eg.6-SEPT-2015 ) . The program will then print out the ISO 8601 representation of the date(2015-09-06).

Your program should handle user input errors such as:

* leading blanks

* blanks within the input string

Your program should delegate any large operations to functions which should be DEFINED AN IMPORTED MODULE

eg.) month conversion

EXTRA CREDIT:

If you need extra credit (a low project score bumped up to 100), add this additional user option to your program.

Allow the user to enter a date in ISO 8601 format (eg 2018-12-12),and print out the date in business format (12-DEC-2018)

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!