PL/SQL Program to print System Date
Write a PL/SQL Program to print the system date and time
begin
dbms_output.put_line(TO_CHAR(SYSDATE, 'MM-DD-YYYY HH24:MI:SS'));
end;
/
this code will print current date and time
output
11-07-2021 20:20:35
Write a PL/SQL Program to print the system date and time
begin
dbms_output.put_line(TO_CHAR(SYSDATE, 'MM-DD-YYYY HH24:MI:SS'));
end;
/
this code will print current date and time
11-07-2021 20:20:35