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

mysql获取时间截_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-01 13:43:48949browse

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