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
          convertDateTime2Ansi(value)

          convertDateTime2Ansi(value)

          This function returns an ANSI date-time string for the specified date.

          Required Editions

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

          Parameters

          JavaScript date object.

          Returns

          ANSI date-time string for the specified date.

          Example

          Utils.convertDateTime2Ansi(new Date())

          Yields 2016-11-24 16:13:50.

           
          Loading
          Salesforce Help | Article