MikeRorstad
7 years agoQrew Cadet
Duration between a date and a variable set to a contract start date
I set ContractStart as a Variable in Home/Settings/Variables.
I then want to calculate the number of days since the contract start date.
I set a field for [Date] and have tried all sorts of variations for my [Duration From Contract Start' field.
I tried making it a Formula - Duration
Days([Date]-ToDate([ContractStart])) yields "expecting number but found duration"
ToDays([Date]-ToDate([ContractStart])) yields "expecting duration but found number"
Changing the field to Formula - Number
ToDays([Date]-ToDate([ContractStart])) yields no error messages but nothing populates the field.
I then want to calculate the number of days since the contract start date.
I set a field for [Date] and have tried all sorts of variations for my [Duration From Contract Start' field.
I tried making it a Formula - Duration
Days([Date]-ToDate([ContractStart])) yields "expecting number but found duration"
ToDays([Date]-ToDate([ContractStart])) yields "expecting duration but found number"
Changing the field to Formula - Number
ToDays([Date]-ToDate([ContractStart])) yields no error messages but nothing populates the field.