Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine Ricardo

2nd Edition

1449606008, 978-1449606008

More Books

Students also viewed these Databases questions

Question

6. What questions would you suggest should be included?

Answered: 1 week ago

Question

5. Who should facilitate the focus group?

Answered: 1 week ago