Skip to content

Convert a date to its ISO-8601 equivalent in Python


from datetime import datetime
print(datetime(2020, 12, 15).isoformat())


See also  CSS code snippet - How to make image a circle ?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.