Home
|
Log In
Emotional Intelligence
Marriage & Dating
Health
Outrageous
Parenting
Business
Tech
Food Recipes
PHP date() for inserting into MySQL datetime
Which PHP date() format to use for formatting a date formatted for MYSQL datetime?
For MySQL datetime:
date("Y-m-d H:i:s")
For MySQL date:
date("Y-m-d")
Related Articles:
How to get the list of table names in a MySQL / mariaDB database using SELECT statement
MySQL Query Statement to Delete Rows Older than 15 Minutes
PHP date() for inserting into MySQL datetime
PHP if($var) vs if(isset($var)) vs if(empty($var)) vs is_null($var)
PHP vs Python for web application development
PHPStorm Find and Replace in Project
Other Articles:
Best stores to shop for groceries and our daily necessary items
InfoBlender.com
About
|
Contact
|
Privacy
|
Terms of Use