This function extracts a certain date from a given date.
Parameters:
- Expression. Type: Date.
- Period type. A string containing one of the following values:
- Minute
- Hour
- Day
- Week
- Month
- Quarter
- Year
- TenDays
- HalfYear
BEGINOFPERIOD(DATETIME(2009, 10, 12, 10, 15, 34), "Month")
Result:
10/01/2009 12:00:00 AM
Next page: ENDOFPERIOD