Duration formatting outside of perspective tables

I’ve noticed that in Perspective tables, if you set numberFormat to 00:00:00, you get the data (assuming it’s a time in seconds) formatted as a duration. Is there any way to do this outside of tables?