Hi,
search for "debug date format" in this forum
and you'll find some topics like
http://www.allroundautomations.com/ubb/ultimatebb.php?ubb=get_topic;f=3;t=005327
with this hint from Marko.
begin
-- Modify the nls_date_format for the session of the test script
dbms_session.set_nls('nls_date_format','''DD-MM-YYYY HH24:MI:SS''');
-- Run the procedure
xyz(p1 => :p1, p2 => :p2);
end;
HTH