I want to find out the datetime 10 mins after current time. Let's say we have
from datetime import datetime
now = datetime.now()
new_now = datetime.strptime(now, '%a, %d %b %Y %H:%M:%S %Z')
I want to find this now
and new_now
10 minutes later. How can I do that?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…