Here is the sample example for convert datetime to time.
datetime dt = system.now();
time t = dt.time();
Important : Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Hi Renu,
Here is the sample example for convert datetime to time.
Important :
Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Thank You,
Hitesh Patel
SFDC Certified Developer & Administrator