SQL Data Types Oracle PLSQL Tutorial

SQL>
SQL> SELECT TO_CHAR(SYSDATE, 'A.M.')
  2  FROM dual;
TO_C
----
P.M.
SQL>