can someone give me a snippet to convert seconds to minutes

if the seconds is over 60 seconds then it shud show the minutes like 1 minute, 5 seconds (65 seconds)

if its 43 seconds, then it should just seconds as its below 60

any help guys?