title: How to get first date of MONTH, and first date of YEAR for a incoming date. in iPhone Objective c
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/14272489/how-to-get-all-the-days-dates-in-current-week-this-month-this-year-using-the-c">How to get all the days/dates in current week, this month, this year using the current date (today) in iPhone</a>  </p>
  </blockquote>
  
  
  
  <p>I need to get the first day of Month,  first day of Year for a date</p>
  
  <p>(Most of times input date is current date <code>[NSDate date]</code>)</p>
  
  <p>could you please suggest how to get it, </p>
  
  <p>E.G. <strong>todays current date</strong> = <strong><em><code>3-MAY-2015</code></em></strong> </p>
  
  <p>Output needed as follows:</p>
  
  <p><strong>First_Date_month</strong> = <strong><em><code>1-MAY-2015</code></em></strong></p>
  
  <p><strong>First_Date_year</strong> = <strong><em><code>1-JAN-2015</code></em></strong></p>
  
  <p>Thanks in advance for your time </p>