Home > Database > Mysql Tutorial > mysql获取时间截_MySQL

mysql获取时间截_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 13:43:48
Original
945 people have browsed it

bitsCN.com -- 将时期生成时间截
Select UNIX_TIMESTAMP(now());
Select UNIX_TIMESTAMP('2012-1-1 00:00:00');
 
-- 将时间截转成日期格式
select from_unixtime(1330509529); 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