TRUNC

From Oracle FAQ
⧼orafaq-jumptonavigation⧽⧼orafaq-jumptosearch⧽

TRUNC is a SQL function that truncates a DATE or NUMBER value.

Syntax

Date values:

trunc (date)
trunc (date, 'format-string')

Number values:

trunc (a-number)
trunc (a-number, other-number)

Examples

SELECT trunc(SYSDATE,'month') FROM dual;

Also see