I've got an amount of seconds
that passed from a certain event. It's stored in a NSTimeInterval
data type.
I want to convert it into minutes
and seconds
.
For example I have: "326.4" seconds and I want to convert it into the following string:
"5:26".
What is the best way to achieve this goal?
Thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…