title: How can I set aspose cells to take the locale for date format from OS?
body: <p>I am creating an excel with Aspose.
  I would like that the date will be formatted according to the OS's Locale, meaning that if the excel will be open in US or Europe the dates will appear in a different format, like if you select the format with asterisk in excel:
  <a href="http://i.stack.imgur.com/bNNW6.png" rel="nofollow">printscreen of "Format Cells" screen in Excel</a></p>
  
  <p>This is my code:</p>
  
  <pre><code>style.setCustom(????);
  cell.setStyle(style);
  
  String date ="2/23/2015";
  DateTime myDate = new DateTime(new Date(date));
  cell.setValue(myDate);
  </code></pre>
  
  <p>How shall I set the cell style?</p>
  
  <p>thanks :)</p>