DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
5+9 =
Submit