I'm trying to capture the date and time using a stored procedure. Everything compiles ok, but I'm having problems finding what is wrong. Can someone please let me know why I get this error when calling the procedure?

====================================================
create or replace procedure get_time
(
v_date out date)
as heute date;
BEGIN
select to_char(sysdate, 'MMDDYY') into heute from dual;
v_date := heute;
end get_time;

-----------------------------------------------------
declare
datum date;
begin
get_time(datum);
end;

-----------------------------------------------------
declare
*
ERROR in Line 1:
ORA-01861: Literal does not match format string
ORA-06512: in get_time, line 6
ORA-06512: in line 4

=========================================================

All help is greatly appreciated.

CIAO

JASSMAN