function ago( $time ){
/* as found on css-tricks */
}
$date='2016-01-21 23:15:00';
$timestamp=strtotime($date);
echo ago( $timestamp );
function ago( $time ){
/* as found on css-tricks */
}
$date='2016-01-21 23:15:00';
$timestamp=strtotime($date);
echo ago( $timestamp );