Date-related Data Types : Date : Data Types MySQL TUTORIALS


MySQL TUTORIALS » Data Types » Date »

 

Date-related Data Types


MySQL offers DATETIME, DATE, TIME, YEAR, and TIMESTAMP types.

Data Type Standard Format Zero value
DATETIME YYYY-MM-DD HH:MM:SS 0000-00-00 00:00:00
DATE YYYY-MM-DD 0000-00-00
TIME HH:MM:SS 00:00:00
YEAR YYYY 0000
TIMESTAMP Varies 00000000000000





Leave a Comment / Note


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

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Data Types
» Date