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

Mysql日期统计函数简介_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-01 13:27:101016browse

bitsCN.com

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

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

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