Loading
Sales Performance Management
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          beginning_of_year

          beginning_of_year

          Returns the first day of the year for a specific date or time value in Salesforce Spiff. The return format is YYYY-MM-DD. If you've specified fiscal year dates that are different from standard calendar dates, use the beginning_of_fiscal_year() function instead.

          Required Editions

          Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience
          Available in: Enterprise, Unlimited, and Developer Editions
          Available for an additional cost in: Professional Edition with Web Services API Enabled

          Syntax

          beginning_of_year(date_or_time)

          Arguments

          Argument Required? Description
          date_or_time Required The Date or Date & Time value to evaluate. This argument supports any date functions.

          Example

          Return the first day of the year based on the current statement period's start date. This calculation changes dynamically in each period and returns the beginning of year date associated with the statement period start date.

          =beginning_of_year(statement_period.start_date)
           
          Loading
          Salesforce Help | Article