title: How to convert Dates to Quarters in R
body: <p>I have a panel data set in the below format</p>
  
  <pre><code>Individual    Date
  A             05/10/2010
  A             06/11/2011
  A             21/07/2012
  B             22/02/2010
  B             15/03/2011
  B             28/09/2012
  </code></pre>
  
  <p>I want to convert the date to Quarters such that Quarter for 2010 should be 1,2,3,4....and Quarter for 2011 should start from 5 until 8...and Quarter for 2012 should start from 9 until 12.</p>
  
  <p>Can anyone please suggest a code to do this in R?</p>