title: How to insert time with am/pm format into the database
body: <p>So im trying to insert a time using an input text field into a database table with data type TIME.</p>
  
  <p>The format of time that I want to insert should be like this:</p>
  
  <p>H:MM pm// example: 6:30 pm</p>
  
  <p>The problem is the am/pm doesnt insert in my database table. 
  Only the hour and minute.</p>
  
  <p>Please give me idea how to solve this. 
  Better with sample codes. Thanks.</p>