Home  >  Article  >  Database  >  Oracle处理日期时间

Oracle处理日期时间

WBOY
WBOYOriginal
2016-06-07 15:19:511650browse

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')

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