title: Date time format when application runs as windows service
body: <p>In my system the date format is set as <code>YYY-MM-DD</code> format.So my c# application will take this format when i call <code>DateTime.Now</code> which is fine.</p>
  
  <p>Now in installed my application as service using Install util command.</p>
  
  <p>After running services it gets the date format as <code>dd/mm/yyy</code>.
  But i want to save the format as <code>yyy-MM-DD</code> format in database.</p>
  
  <p>Whether i need to change my code or i can set this format in system.</p>
  
  <p>because already the regional settings are done in <code>yyy-mm-dd</code> format only.</p>
  
  <p>This problem happens only when I install my application as a service.</p>
  
  <p>Please help. Thanks in advance.</p>