Add 10 Min To Current Time Django

[Solved] Add 10 Min To Current Time Django | Python Frameworks Django - Code Explorer | www.yomemimo.com
Question : add 10 min to current time django

Answered by : rehman

from datetime import datetime, timedelta
now = datetime.now()
now_plus_10 = now + timedelta(minutes = 10)

Source : https://stackoverflow.com/questions/6205442/how-to-find-datetime-10-mins-after-current-time | Last Update : Tue, 31 May 22

Answers related to add 10 min to current time django

Code Explorer Popular Question For Python Frameworks Django