About 3,670 results
Open links in new tab
  1. Apex Code Formatter for SOQL - Salesforce Stack Exchange

    Feb 27, 2023 · Unfortunately prettier code formatter cannot be customized any further and it is as design. Prettier Option Philosophy Prettier is not a kitchen-sink code formatter that attempts to print …

  2. Date format in SQL query - Salesforce Stack Exchange

    Date data types in SFMC are DateTime (or DateTime2) data types behind the scenes, so the time is always included. It's best to use AMPscript to format these, as you can't dictate the format stored in …

  3. apex - How is a DateTime object formatted into a String suitable for a ...

    In order to write a where clause against a datetime field, you need to format your dateTime object into the following format: WHERE SystemModstamp > 2005-10-08T01:02:03Z How do you correctly co...

  4. List of all Salesforce Implementation guides

    Aug 8, 2022 · Is there a directory / list of all Salesforce implementation guides? I find the content in those guides go deeper than trailhead, and I prefer those.

  5. Need to convert date format in apex - Salesforce Stack Exchange

    Jul 27, 2015 · This sounds like SQL date format from ISO 9075: YYYY-MM-DD HH:MM:SS Apex Datetime.valueOfGmt (string) can inhale it: Datetime midnight = Datetime.valueOfGmt('2015-07-27 …

  6. apex - Date format to MM.DD.YYYY - Salesforce Stack Exchange

    I'm trying to convert my datetime value into MM.DD.YYYY format Tried the following, 1. datetime dt = system.today(); string f = DateTime.newInstance( dt.year(), dt ...

  7. Apex Date to string - Salesforce Stack Exchange

    Jan 1, 2020 · Use DateTime.format() to get the date as per user's time local zone. As per the documentation formatGmt(dateFormatString) Returns a Datetime as a string using the supplied Java …

  8. DateTime Format in SOQL - Salesforce Stack Exchange

    [SELECT Id,(SELECT Id, StepStatus, Comments, OriginalActorId, ActorId, CreatedDate, Actor.Name, OriginalActor.Name FROM Steps ORDER BY CreatedDate DESC) FROM ...

  9. apex - Date Format (yyyy/MM/DD) - Salesforce Stack Exchange

    The reason for this is the DateTime field will always displayed with GMT timezone in UI. To show the data is UI with current user timezone, you can have the data in a string and display. String timeZone …

  10. apex - Is there a way to invoke Salesforce's phone number formatter …

    May 6, 2020 · Is there a way to invoke Salesforce's phone number formatter (kind of like Date.format()) so that I can run the incoming raw phone strings through that before concatenating it with the display …