ORA-01830: date format picture ends before converting entire input string / Select sum where date query
You can try this:
Select To_date ('15/2/2007 00:00:00', 'DD/MM/YYYY HH24:MI:SS'), To_date ('28/2/2007 10:12', 'DD/MM/YYYY HH24:MI:SS') From DUAL;
Source: http://notsyncing.org/2008/02/manipulando-fechas-con-horas-en-plsql-y-sql/