PHP Pretty time function

PHP Pretty time function

go here where to buy furosemide in uk

= strtotime("today")){
		//Vandaag
	      if($backThen > ($now-60)){
	        $difference = floor(($now-$backThen));
	        $return = $difference . " seconds ago";
	      } elseif($backThen > ($now-(60*60))){
	        $difference = floor((($now-$backThen)/60));
	        $return = $difference . " minutes ago";
	      } elseif($backThen > ($now-(2*60*60))){
	        $difference = floor(((($now-$backThen)/60)-60));
	        $return = "1 hour and " . $difference . " minutes ago";
	      } else {
	        $return = "today at " . date("H:i", $backThen);
	      }
	    } elseif($backThen >= strtotime("yesterday")){
		//Gisteren
	      $return = "yesterday at " . date("H:i", $backThen);
	    } elseif($backThen >= strtotime('-2 day')){
		//Gisteren
	      $return = "day before yesterday at " . date("H:i", $backThen);
	    } else {
		//Eerder dan eerGisteren
			$return =  date(''.get_option('date_format').' '.get_option('time_format').'', $backThen); //wordpress option
			$return =  date('l, d-m-Y H:i', $backThen);
	    	
	    }
		
		return $return;
}