Quantcast
Channel: COGNOiSe.com - The IBM Cognos Community
Viewing all articles
Browse latest Browse all 12971

Re: Semi monthly data in report

$
0
0
You can use the mod function to determine if a given year is a leap year.  It would look something like this:

[code]
IF (
MOD(current_date,400)=0 OR ( MOD(current_date,4)=0 AND MOD(current_date,100)<>0 )
)
Then
('Leap Year')
Else
('Not a Leap Year')
[/...

Viewing all articles
Browse latest Browse all 12971

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>