Si el campo fechaoficio es un date, entonces está sobrando la primera línea que le dice el tipo que es
Parameters.ParamByName('p_fechaoficio').DataType:=ftDate;
Por lo que sólo es necesario:
Código:
Parameters.ParamByName('P_fechaoficio').value := wfechaoficio;
Parameters.ParamByName('p_identificador').Value := wfirmado;