Maison >base de données >tutoriel mysql >oracle时间大小比较 格式
createtime to_date( '2006-04-08 00:00:01','yyyy-mm-dd hh24:mi:ss') and createtimeto_date('2006-04-08 10:00:01','yyyy-mm-dd hh24:mi:ss') 或者 createtime to_date( '20060408000001','yyyymmddhh24miss') and createtimeto_date('20060408100001','y
createtime >to_date( '2006-04-08 00:00:01','yyyy-mm-dd hh24:mi:ss')
and createtime
或者
createtime >to_date( '20060408000001','yyyymmddhh24miss') and createtime
javascript时间比较大小
Date.parse("2011-4-9 9:30:00".replace("-","/"))>Date.parse("2011-4-13 15:54:52".replace("-","/"))