Loading
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
          addDays2AnsiFullDate(sDate, iDays)

          addDays2AnsiFullDate(sDate, iDays)

          Adds the given number of days to the given ANSI date. Result also contains time information.

          Required Editions

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

          Parameters

          • sDate
          • iDays

          Returns

          Example
          Example //Precalculate max delivery date.

          var maxDeliveryDate = Utils.convertAnsiDate2Date(Utils.addDays2AnsiFullDate(Utils.createAnsiToday(), this.getBoOrderMeta().getMaxLeadTime()));

           
          Loading
          Salesforce Help | Article