Seconds to duration method.