title: Reading only date or only day time from JSON object
body: <p>I have a  javascript code which reads data table from my server as JSON objects,apparently I am stuck at reading dateTime object(i.e dateTime variable in my database) ;</p>
  
  <p>when I read it the output is as dd/mm/yyyy AM 12:00:00; I want to remove the AM 12:00:00 part from it,how can I do it? </p>
  
  <p>also in my next requirement I only want to the day time i.e keep the AM 12:00 part and remove everything else....please help</p>