|
How to: |
Given a date or timestamp and a component, DTRUNC returns the first date within the period specified by that component.
DTRUNC(date_or_timestamp, date_period)
where:
Date or date-time
Is the date or timestamp of interest, which must provide a full component date.
Is the period whose starting or ending date you want to find. Can be one of the following:
By default, the first day of the week will be Sunday, but this can be changed using the WEEKFIRST parameter.
| WebFOCUS | |
|
Feedback |