Answers for "py current date"

0

py current date

from datetime import datetime
datetime.today().strftime('%Y-%m-%d')
'2021-01-26'
Posted by: Guest on July-05-2021

Python Answers by Framework

Browse Popular Code Answers by Language