How Can i Get Previous year and Current Year based on Current date

Hi Developers,

Here is issue i want to display Previous year and current year on separate columns in report

Based on Current date so How can i solve this one…pls

Welcome to DUG

Please read help files and search the forum

http://msdn.microsoft.com/en-us/library/dd301368.aspx

http://msdn.microsoft.com/en-us/library/dd301319.aspx

hi,

InputDate := TODAY;

Year := DATE2DMY(InputDate,3);

PrevYear := Year - 1;

regards