Wednesday, May 16, 2018

How to insert AM and PM in Mysql Database ? Thanks in advance - development

How to insert AM and PM in Mysql Database ? Thanks in advance

Thank You all for your precious time, I have seen lot of solution in internet for this problem, But cant get the apt solution for me

This is my value, I am going to insert in my
DB

[phoneinterview] => 2018-05-16 10:28 PM

In My databse I have field like this

phoneinterview timestamp

But Its Inserting Like this  -> 2018-05-16 10:28:00     
Actually I want to insert like this -> 2018-05-16 10:28 PM



from Laravel Questions and Answers https://laravelquestions.com/php/how-to-insert-am-and-pm-in-mysql-database-thanks-in-advance/
via Lzo Media

No comments:

Post a Comment