select * from tw.document where 
         rtime >= to_date ('2006-03-13 09:30:00','yyyy-mm-dd hh24:mi:ss')
    and  rtime <  to_date ('2006-03-14 09:29:59','yyyy-mm-dd hh24:mi:ss')