How to get DateTime difference in Crystal Report
1 answer
You are not giving enough information to help us solve your problem.
Getting results using dateDiff may mean that there is a Null value in your data.
At the "File / Report Parameters" level, you have the option to "convert Null values ββto default" (this might be an incorrect translation, since I am not working with the English version of CR ..). Select this option to have Null dates in your database treated as dates in your function. Try to get dateDiff result. If it still doesn't work, use a draft report to display all intermediate results in your function, or try writing it in basic syntax instead of Crystal Syntx.
+1
source to share