Home > Database > Mysql Tutorial > Oracle处理日期时间

Oracle处理日期时间

WBOY
Release: 2016-06-07 15:19:51
Original
1697 people have browsed it

where contdate=to_char(to_date(20130220,'yyyyMMdd'),'yyyyMMdd') //hhmmss HH:MMSS 式可以自己定义 conttime between to_char(to_date(#startTime#,'hhmiss'),'hhmiss') and to_char(to_date(#endTime#,'hhmiss'),'hhmiss')

where contdate=to_char(to_date(20130220,'yyyyMMdd'),'yyyyMMdd')

//hhmmss HH:MMSS 格式可以自己定义

conttime between to_char(to_date(#startTime#,'hhmiss'),'hhmiss') and to_char(to_date(#endTime#,'hhmiss'),'hhmiss')

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