Loading
Salesforce now sends email only from verified domains. Read More
Visual Studio Code Based Modeler for Consumer Goods Cloud
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
          addDays2AnsiDateTime(sDate, iDays)

          addDays2AnsiDateTime(sDate, iDays)

          This function returns a new ANSI string, which iDays shifts.

          Required Editions

          Available in Lightning Experience in Professional, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled.

          Parameters

          ANSI date-time string and integer.

          Returns

          New ANSI string that iDays shifts.

          Example

          Utils.addDays2AnsiDateTime("2016-11-23 10:00:00", 1)

          Yields 2016-11-24 10:00:00.

           
          Loading
          Salesforce Help | Article