Sep-02-2021, 07:26 PM
(This post was last modified: Sep-02-2021, 07:33 PM by deanhystad.)
It sounds like the dateutil library could be helpefull here.
https://pypi.org/project/python-dateutil/
Sound like you could parse the user input to get a datetime object and print the datetime object in whatever format you like.
https://pypi.org/project/python-dateutil/
Quote:parser
This module offers a generic date/time string parser which is able to parse most known formats to represent a date and/or time.
Sound like you could parse the user input to get a datetime object and print the datetime object in whatever format you like.