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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started