I have a Timespan that is always in milliseconds, but I need to show the date in minutes and seconds only so that it's always "mm:ss"
. Even if there are hours in the timespan, the output string should contain only minutes and seconds.
For example, if there is a timespan of 02:40:30
, it should get converted to 160:30
.
Is there a way to achieve this?
30
seconds in the input becomes20
in output? – Labyrinthine