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
Aniruddha.ManakeshwarAniruddha.Manakeshwar 

How to check for 24 hour time span for Start Date and End Date ?

I am nebie into Salesforce, i need help/solution to solve my problem. 1. We have a custom Object Action Tracker, which has Custom Button as "Track Activity On the Case; and Record Type "Case". 2. On Case Page, we have related List :Action Tracker along with Custom Button : Track Activity on Case. 3. For Case we have 3 types of Record Types, and tracking Activity for all these 3 record types. 4. When i click on Track Activity On the Case button for Case, i am being redirected to Action Tracker page for Case, which has Start Date/time and Stop Date/Time. 5. I had been asked Start Date and Stop Date can sapn over a 24 hour period. 6. I also need to capture the Value for Time Spent as Stop time - Start time (which i did) Can somebody please suggest me how to make sure Start Date and Stop Date span over 24 hour period?