Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Count days from a date to current Post Reply Post New Topic
Author Message
maven
Newbie
Newbie
Avatar

Joined: 12 Mar 2009
Location: United States
Online Status: Offline
Posts: 1
Quote maven Replybullet Topic: Count days from a date to current
     Posted: 12 Mar 2009 at 2:09pm
How would you count the days from a date to todays date?  I am working on a AR report that need to note how many days past due the invoices are.

The invoice due date field in my data base is "apmast.duedate".

Thanks,
Jason
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 12 Mar 2009 at 2:55pm
datediff("d",{apmast.duedate},currentdate)
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum