title: change date and time format in php
body: <p>I am fetching time and date from MYSQLi using php. For time I am getting default 24 hr format and for date I am recieving format of y/m/d.</p>
  
  <ul>
  <li>I want to get time in 12 hr format.</li>
  <li>I want to get date in d/m/y format.</li>
  </ul>
  
  <p>How to do it in php ?</p>