Why bake this into $duration when you have $asctime($duration(...), FORMAT)