-
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
Choosing Debug Mode and Component Caching to build Lightning Components rapidly and efficiently
As you start developing Lightning Components you must take care of a few settings in Salesforce Org, depending on whether you are in production or…
What is Clone and Deep Clone in Apex?
Clone is the predefined method in Apex which is used to clone the record just by one functional line of code. Deep Clone is the…
Top Reasons to Learn Salesforce
Salesforce is the number one CRM (customer relationship management) and cloud-based platform that enables companies to manage, organize and track their internal information effectively and…
Popular Salesforce Videos
Salesforce SOAP API integration using Partner WSDL
This video is another one on our Salesforce Integration learning video series, through this video our experts will be going to demonstrate how to use…
Career in Salesforce in 2022
In this video, Shrey is talking about starting your career in Salesforce. Here are the different career choices you have or different profiles that are…
Salesforce Diagram | Salesforce Diagramming Framework
Diagrams help drive key project decisions, align delivery teams, and help everyone understand where you’re going and what’s been done. Consistent, easy-to-understand diagrams are a…