We Recommend

Accelerated C# 2008 Accelerated C# 2008
This book is both a rapid tutorial and a permanent reference. You’ll quickly master C# syntax while learning how the CLR simplifies many programming tasks. You’ll also learn best practices that ensure your code will be efficient, reusable, and robust. Why spend months or years discovering the best ways to design and code C# when this book will show you how to do things the right way, right from the start?


Posted By

brent-man on 07/23/08


Tagged

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.