Home > Database > Mysql Tutorial > body text

常用的MySQL日期时间函数(1/2)

WBOY
Release: 2016-06-07 17:52:31
Original
994 people have browsed it

对于每个类型拥有的值范围以及并且指定日期何时间值的有效格式的描述见7.3.6 日期和时间类型,这里是一个使用日期函数的例子。下面的查询选择了所有记录,其date_col的值是在最后30天以内:

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!