An effort to bring a revolution in Salesforce.

Tuesday, 26 July 2016

Convert String to Date in salesforce

 

Simple code is used to convert String to Date data type using Apex


Sample Code:

String today = '7/26/2016';

Date dt = Date.parse(today);

,

No comments:

Post a Comment

Get Gmail, Docs, Drive, and Calendar for business