I have a variable of type Date called dateElab and I use it in the value of a p: Calendar of primefaces
<p:calendar id="mask" pattern="dd/MM/yyyy" mask="true" locale="es" value="#{Registro.datosVO.fechaElab}"
So when I select any date, I mark the following TESTING DATE AWED Feb 14 00:00:00 CST 2018 and always marks the same time, then what I want is to remove the time How can I do it?