Answer the question
In order to leave comments, you need to log in
Working with time?
Please tell me the best way to do this:
женаты (' + str(datetime.utcfromtimestamp(time.time() + 10800 - marry_time).strftime('%H:%M:%S')) + ' ' + str(datetime.utcfromtimestamp(time.time() + 10800 - marry_time).strftime('%d.%m')) + ')\n'
Answer the question
In order to leave comments, you need to log in
Use time delta
marriage_date = datetime.date.now() + datetime.timedelta(hours=3)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question