title: Echo a date variable as a another format
body: <p><code>$start_date</code> and <code>$end_date</code> are dates, but they need a D/M/Y format. How can i echo it as that format?</p>
  
  <pre><code>&lt;?php
  foreach($wp_trips as $wp_trip){
    if($is_day_trip){
      echo '&lt;li&gt;' .  $wp_trip-&gt;start_date . '&lt;/li&gt;';                                        
    } else {
      echo '&lt;li&gt;' .  $wp_trip-&gt;start_date . ' t/m ' . $wp_trip-&gt;end_date . '&lt;/li&gt;');
    }
  } 
  ?&gt;
  </code></pre>