Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8627

Re: calculate no of days at report and calculations required more than 180 will be 0 for next year

$
0
0

How are we identifying the year  ? Please clarify the same with example.

 

Yes i have written the code in i_step = 1 because as per your initial post you never told us about user input variable and moreover if you need just the last date of previous month based on current month then that code will suffice your requirement.

 

In case that is dependent on user entry then we need to change the logic accordingly and write the code in i_step = 2.

 

Regards,

AL


Viewing all articles
Browse latest Browse all 8627

Trending Articles



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