Calculate Difference Between Two Dates In Apex Salesforce, This method returns the difference in milliseconds.