Creating table with date format YYYY-MM-DD
427492Dec 6 2004 — edited Dec 6 2004Date is stored in the format YYYY-MM-DD HH-MM-SS unless if the time entered is 12:00:00 AM, in which case a select output will be in the format YYYY-MM-DD. Is there a way to create a table having a date column to have a default time of 12:00:00 AM, so that only the date needs to be inserted? Is this possible?