BEGINOFPERIOD

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


Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.