Returns date_value with the time portion of the day rounded to the unit specified by fmt.
[TD_SYSFNLIB.] ROUND ( date_value [, fmt ] )
- Name of the database where the function is located.
- A date or timestamp argument.
A character expression.
If this syntax element is NULL, NULL is returned.
If fmt is omitted, date_value is truncated to the nearest day. Sunday is considered the first day of the week. For ISO years, Monday is considered the first day of the week.
If this syntax element is not valid, an error is returned.