Readable Time – PHP, given a unix timestamp, return a readable time

Readable Time – PHP, given a UNIX timestamp, return a readable time # Given a unix timestamp, returns in readable time ie "1 day, 7 hours, 23 minutes, 2 seconds" function readable_time($timestamp, $num_times = 2) { //this returns human readable time when it was uploaded (array in seconds) $times = array(31536000 => 'year', 2592000 => […]
Continue Reading