Home > Database > Mysql Tutorial > What are the date fields in mysql

What are the date fields in mysql

王林
Release: 2020-09-30 10:29:09
Original
5409 people have browsed it

The date fields in mysql are: 1. DATE; 2. TIME; 3. YEAR; 4. DATETIME; 5. TIMESTAMP. Among them, the TIMESTAMP type has a proprietary automatic update feature.

What are the date fields in mysql

mysql date and time type

(Recommended tutorial: mysql tutorial)

mysql has There are 5 date and time types representing time values, namely, DATE, TIME, YEAR, DATETIME, and TIMESTAMP.

Among them, the TIMESTAMP type has a proprietary automatic update feature.

Look at the table below:

What are the date fields in mysql

Related recommendations: php training

The above is the detailed content of What are the date fields in mysql. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template