How to compare date and year?
<p>i am implementing one graph related app.</p>

<p>In that when application start i am getting present month,present year from calende and display on the screen with graph. like April 2012 and graph</p>

<p>ok that is fine.</p>

<p>In my screen i have two buttons like preview,next.</p>

<p>when user clicks preview ,i want to change April 2012 to March 2012,Fib 2012 ..........</p>

<p>And when user clicks next button,i want to change April 2012 to May 2012.....</p>

<p>How i will do these type of comparigens.</p>

<p>If any one know please help me.</p>

<p>Thanks in advance</p>
