FIRST_DAY()
Returns the first day of a time period containing a datetime value
DATE
, TIMESTAMP
(with or without time zone)
FIRST_DAY(OF <period> FROM date_or_timestamp) <period> ::= YEAR | MONTH | QUARTER | WEEK
Parameter | Description |
---|---|
date_or_timestamp |
Expression of type |
FIRST_DAY
returns a date or timestamp (same as the type of date_or_timestamp) with the first day of the year, month or week of a given date or timestamp value.
Note
|
|