function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
venkatsforcevenkatsforce 

Parse the String of Date &time in One Datatype Datetime

Hi All

      

       Am using Datetime datetype in sfdc my doubt is if i havng 1 string date='' & string time='' here how to store the date&time in Datetime datatype field....

 

Thanks

=========

Venkatsforce

sindoorasindoora
Hi Venkat.
can u be more specific
Mayank_JoshiMayank_Joshi
For this , you need to convert String values into Datetime datatype . There are conversions (API methods) available in apex code developer guide.