Jul 25, 2019 03:36 PM
I have a date and a turnaround time. Need to calculate start date = date - turnaround time.
The problem is date is date format and turnaround time is a number like 28. Is there any way to convert a date to a number?
Jul 25, 2019 04:11 PM
DATEADD({date field}, -{turnaround time field}, 'days')
Jul 25, 2019 04:21 PM
Getting an error unfortunately. is the way to convert the date to a number first?
Jul 25, 2019 04:48 PM
You don’t need to, unless I’ve misunderstood what you’re tying to do. DATEADD()
is function that lets you generate a date based on a start date (in your case, an end date) and a number of days/weeks/months/etc.
What formula did you type in? Did you replace the words between the {brackets} with the actual names of your fields?
Jul 25, 2019 07:00 PM
Works here.