-
Conversion of String to DateTime format in Salesforce Org
Hi everyone,
I need to convert a string that I am getting from JSON response (For eg: 2014-08-26T17:50:20.000-0700) to this format '6/9/2014 11:57' to store in field which is of text format in my salesforce org.
Also per my requirement the field which i store date should not be in date/time format. Any guidance is appreciated.
Thanks
Log In to reply.
Popular Salesforce Blogs
What is the Apex Testing Framework in Salesforce in 2023?
The Apex testing framework enables you to write and execute tests for your Apex classes and triggers on the Lightning Platform. Apex unit tests ensure…
Future of Salesforce: Top 6 Predictions
Salesforce is one of the top 10 software skills trending this year. It was the first software of its kind and one of the most…
How to Call Server-Side Apex Controller Action from Client-Side Controller in Lightning Component?
Server-Side Controller method can be invoked by the client-side controller by using the value provider of c. Client-side action can also be invoked by using…
Popular Salesforce Videos
Is Trailhead enough to crack Salesforce Interview?
In this video, Shrey answered one of the most asked questions related to Salesforce Interview. Let's see how beautifully Shrey answered this Question. We hope…
Simplify Case Management in Salesforce With Email-to-Case Advance
While Email-to-Case is one of the most widely used features in Salesforce Service Cloud, its limited functionalities may hold you back. At Grazitti, the Salesforce…
Generative AI: What Are Its Benefits For Businesses?
Imagine a world where computers can help businesses come up with creative ideas, solve tricky problems, and even predict what customers might want next. That's…