Convert to date format dd/mm/yyyy

前端 未结 6 940
感动是毒
感动是毒 2020-12-01 06:29

I have the following date: 2010-04-19 18:31:27. I would like to convert this date to the dd/mm/yyyy format.

6条回答
  •  自闭症患者
    2020-12-01 07:05

    There is also the DateTime object if you want to go that way: http://www.php.net/manual/en/datetime.construct.php

提交回复
热议问题