Convert Seconds to Human Readable time (up to days)

/ Published in: Ruby
Save to your folder(s)

Pass in seconds and get back the amount of time in human readable format! ie: puts Utils.seconds_to_string(129) :=> 2 minutes, 9 seconds

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.