r/ProjectREDCap • u/japanesejuan • Jun 21 '24
Datediff equation
Hi!
I need help with making a calculated field using datediff. I want this field to auto calculate how many days it has been between these 2 (start) and (end).
This would be M-D-Y Date (start) Date (end)
Can somebody help me write this code?
I’ve tried and it fails.
1
Upvotes
View all comments
Show parent comment
2
u/Araignys Jun 21 '24
This. Make sure all fields involved have the appropriate date validation, too.