title: How to calculate month between two dates in stata
body: <p>I want to create a variable with the age of credit. The data only has the date of the start of credit. </p>
  
  <p>I create date variable (eg 2017-12-31) for default. Then, i want calculate age with date of the start credit.</p>
  
  <p>I tried to search for an article about that, but no luck.</p>
  
  <p>Thanks.</p>