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
vidya khamgalvidya khamgal 

Create a formula field that determines the number of days between the end date of a contract and today.

Best Answer chosen by vidya khamgal
Sankeerth ReddySankeerth Reddy
Hi vidya,

EndDate - Today() should work.

All Answers

vidya khamgalvidya khamgal
i have created object named as contract in that object the field is days remaining data type will be the number and the formula should return the number of days between the contract end date and today.
Sankeerth ReddySankeerth Reddy
Hi vidya,

EndDate - Today() should work.
This was selected as the best answer
Raj VakatiRaj Vakati
To find the number of days between two dates, date_1 and date_2, subtract the earlier date from the later date: date_1— date_2

Refer this link 

https://help.salesforce.com/articleView?id=formula_examples_dates.htm&type=5