PHP: formatting a date from mySQL to be date only

前端 未结 3 801
情书的邮戳
情书的邮戳 2021-01-16 21:01

I am displaying some records from mySQL from php and one of the fields I echo out is a date field but it currently prints out the time at the end to.

How can I just

3条回答
提交回复
热议问题