TRUNC(SYSDATE,'Q'): Truncating to the quarter
SQL> -- Truncating to the quarter.
SQL>
SQL> SELECT TO_CHAR(TRUNC(SYSDATE,'Q'),'MM/DD/YYYY HH:MM:SS AM') "Today's Date and Time" from DUAL;
Today's Date and Time
----------------------
07/01/2006 12:07:00 AM
SQL>
SQL>
SQL>
Related examples in the same category