title: How to get today's date in the Gregorian format when phone calendar is non-Gregorian?
body: <pre><code>NSDate *now = [[NSDate alloc] init];  
  </code></pre>
  
  <p>gives the current date.  </p>
  
  <p>However if the phone calendar is not Gregorian (on the emulator there is also Japanese and Buddhist), the current date will not be Gregorian.  </p>
  
  <p>The question now is how to convert to a Gregorian date or make sure it will be in the Gregorian format from the beginning. This is crucial for some server communication.</p>
  
  <p>Thank you!</p>