Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pythom datetime now

>>> from datetime import datetime
>>> datetime.today().strftime('%Y-%m-%d')
'2021-01-26'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pythom #datetime
ADD COMMENT
Topic
Name
5+9 =