Quantcast
Channel: Installation and Setup
Viewing all articles
Browse latest Browse all 631

Julian Date Convertion Help

$
0
0

Hello World!

<div>

My goal is to show 6 months of data so in the code below i was able to show the start and end date for each month but trying to conver that start and end into julian start and end is what i having a hard time with, by the way this reporting is being created in Crystal Reporting

BeforeReadingRecords;
Local dateVar back2;
Local dateVar back2start;
back2 := CDate(DateAdd("m",-6,CurrentDate));
back2start := Date(Year(back2),Month(back2),01);
back2start

END

BeforeReadingRecords;
Local dateVar back2;
Local dateVar back2end;
back2 := CDate(DateAdd("m",-5,CurrentDate));
back2end := CDate(DateAdd("d",-1,Date(Year(back2),Month(back2),01)));
back2end

</div>

Viewing all articles
Browse latest Browse all 631

Trending Articles



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