Q & A

I have a database field (mysql database , of the datetime type) , and it's being filled by PHP.

  • GNU/Linux
  • 2 years ago

solved it by simply putting that in the value field

date("Y-m-d\TH:i:s", strtotime($yourdate))