I have value 1 day, 14:44:00
which I would like transform into this: 38:44:00
.
I've tried the following code:
myTime = ((myTime.days*24+myTime.hours), myTime.minutes, myTime.seconds)
But it doesn't work. I got this error message:
'datetime.timedelta' object has no attribute 'hours'
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…