Date Datatypes : Introduction : Data Types MySQL TUTORIALS


MySQL TUTORIALS » Data Types » Introduction »

 

Date Datatypes


There are 5 MySQL date datatypes these are:

Datatype Format Info
DATETIME YYYY-MM-DD HH:MM:SS This stores both date and time.
DATE YYYY-MM-DD This only stores the date
TIMESTAMP(length) Depends on the length field
TIME HH:MM:SS This stores only the time
YEAR YYYY Stores only the year





Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Data Types
» Introduction