Answers for "check if a date is reached django"

0

check if a date is reached django

import datetime
day = datetime.datetime.strptime('<date-to-check>', "%d/%m/%Y").date()
present = datetime.now()
if (day == present):
	return True
Posted by: Guest on October-08-2021

Code answers related to "check if a date is reached django"

Python Answers by Framework

Browse Popular Code Answers by Language