import pendulum try: print(pendulum.parse('{:0>2}-{:0>2}-{:0>2}'.format(2024, 9, 21))) except Exception as e: print(e)
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter