VocabReminder
Easily build a great vocabulary without studying! Now on the App Store!
Click here for more info about the app

Generate MySQL Datetime Type Using PHP Date() Function

       

If you want to insert a datetime that matches the default mysql datetime type format use this


date('Y-m-d H:i:s');

Tagged w/ #date #datetime #mysql #php #strftime #typephp