preparedStatement for dates. not tested yet