title: How to format php Datetime?
body: <p>I am using this code to show last date of the month</p>
  
  <pre><code>&lt;?php
      $day=new DateTime('last day of this month'); 
      echo $day-&gt;format('M jS');
  ?&gt;
  </code></pre>
  
  <p>but its giving output as "Feb 28th"</p>
  
  <p>I want output as "February 28th, 2017"</p>
  
  <p>How do I achieve it?</p>
  
  <p>thanks in advance</p>