Tag Archives: format

Minimum and maximum valid dates in Salesforce

What are the minimum and maximum valid dates in Salesforce? I spend a long time to find this place in the documentation https://developer.salesforce.com/docs/atlas.en-us.212.0.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select_dateformats.htm?search_text=date%20format    Minimum and Maximum Dates Only dates within a certain range are valid. The earliest valid date … Continue reading

Posted in salesforce, Uncategorized | Tagged , , , , , | Leave a comment

Strange behavior of Salesforce String.format method

Today I have found some very strange behavior of Salesforce String.format method. It doesn’t work with single quotes. Later I have found solution posted by Daniel Balinger. He explains why we need to use double apostrophes instead of single quote … Continue reading

Posted in apex, salesforce, Uncategorized | Tagged , , , , | Leave a comment