trunc

Truncates the time from a datetime or decimals from a numeric value.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
X X X X X

Syntax

expr trunc(data)
expr       data

Description

Removes the time information from a datetime value or the decimals from a numeric value.