Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Leap year issue Post Reply Post New Topic
Author Message
slam786
Newbie
Newbie
Avatar

Joined: 15 Dec 2015
Location: United States
Online Status: Offline
Posts: 2
Quote slam786 Replybullet Topic: Leap year issue
    Posted: 25 Mar 2016 at 12:27am
I created a crosstab report with a date function (thanks to this forum) based on our pay periods. and it runs automatically. Only have to change it at the end of every fiscal year. But just got a call that when the leap day happened it threw the reports off by one day. Here is the formula I use.
ceiling(datediff('d',date(2015,6,27),{TPB105_CHARGE_DETAIL.chg_srv_ts}),14)/14
I don't know how to figure in that day without throwing off the beginning of the report.   do just create a whole new report starting from the period with the leap day?
slmeyers
IP IP Logged
Post Reply Post New Topic
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



This page was generated in 0.016 seconds.