SyntaxFix
Write A Post
Hire A Developer
Questions
If I understand you, you can do it with a datetime.timedelta -
datetime.timedelta
import datetime endTime = datetime.datetime.now() + datetime.timedelta(minutes=15) while True: if datetime.datetime.now() >= endTime: break # Blah # Blah