-1

I create an html form and I used HTML5 datatype field to insert data.what type of mysql attribute I could use to save the datatime in a db?

<input type="datetime" name="dt" id="dt" value="" placeholder="Date"/>
Mazzy
  • 13,354
  • 43
  • 126
  • 207

1 Answers1

0

You'll probably want to use the DATETIME data type.
Have a loot at the Manual.

Madara's Ghost
  • 172,118
  • 50
  • 264
  • 308