Posted By

brent-man on 07/23/08


day date crystal xi reports

Versions (?)

Difference in Days - Crystal Reports XI

 / Published in: Other

  1. Local DateVar startdate := {TABLE.DATE}; // Start date
  2. Local DateVar enddate := Today; // End Date (use todays)
  3. Local NumberVar days:= Datediff("d",startdate, enddate); // Difference in days
  4. "Day Difference: "&int(days)&" days" // Output

Report this snippet  

You need to login to post a comment.