SyntaxFix
Write A Post
Hire A Developer
Questions
This is simply what to do:
datetime.datetime.now() - datetime.timedelta(minutes = 15)
timedeltas are specifically designed to allow you to subtract or add deltas (differences) to datetimes.
timedelta
datetime