Question: how to subtract minutes in python?
Answer: Use datetime. Call datetime. timedelta(minutes) to return a timedelta of duration minutes . Subtract this timedelta from a datetime. datetime object to to return a datetime object minutes earlier than the original datetime object.