Home > Database > Mysql Tutorial > Mysql日期统计函数简介_MySQL

Mysql日期统计函数简介_MySQL

WBOY
Release: 2016-06-01 13:27:10
Original
1011 people have browsed it

bitsCN.com

NOW()	返回当前的日期和时间CURDATE()	返回当前的日期CURTIME()	返回当前的时间DATE()	提取日期或日期/时间表达式的日期部分EXTRACT()	返回日期/时间按的单独部分DATE_ADD()	给日期添加指定的时间间隔DATE_SUB()	从日期减去指定的时间间隔DATEDIFF()	返回两个日期之间的天数DATE_FORMAT()	用不同的格式显示日期/时间
Copy after login

http://www.cnblogs.com/sosoft/p/3456617.html

bitsCN.com
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