Convert seconds to compound duration

I may be wrong but I thought the point of these challenges was to implement such functions. But answering your question, I would create a zero NaiveDateTime and add seconds using the add function from this module.

Edit: In fact you can use Time and Time.add