Relative Content

Tag Archive for datetimeflasksqlalchemy

How to add days to DateTime object in Flask SQLAlchemy

I have this model Problem with a DateTime object: the current date. I want to add 3 more attributes, “reviewDate1,” “reviewDate2,” and “reviewDate3.” I want them to be spaced out at 1 day after today, 3 days after, and 7 days after.