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")
 
PREVIOUS NEXT
Tagged: #python #datetime #compare #date
ADD COMMENT
Topic
Name
6+4 =