Question: how to calculate time difference in redcap?
Answer: The equation for a DATEDIFF calculated field looks like this: datediff ([date1], [date2], "units", "dateformat", returnSignedValue), where “units” can be defined as years (y), months (M), days (d), hours (h), minutes (m), or seconds (s), "dateformat" can be defined as year-month-day (ymd), month-day-year (mdy), or day- ...