Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python datetime compare date

datetime.datetime.strptime(str(datetime.date.today()), "%Y-%m-%d") >= datetime.datetime.strptime("2022-10-22", "%Y-%m-%d")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #datetime #compare #date
ADD COMMENT
Topic
Name
5+5 =