[PHP] Convert seconds to time (years, months, days, hours…)

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

This useful function will convert a time in seconds to a time in years, months, weeks, days, and so on.

URL: http://ckorp.net/sec2time.php

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.