Actually $asctime($duration(N),format) is unusable, I'm not sure why I suggested it. On a related note, your examples don't work because $duration(3600) returns "1hr" which $asctime can't interpret. And unfortunately $asctime does not start at 0:00, so it's unreliable to be used in this way.