title: toLocaleDateString() short format
body: <p>I want to have the short notation of the Date.toLocaleDateString() but in local format. There are a lot of solutions that hard-code the yyyy-mm-dd format but I want it to be dependent on the system that is hosting the page. This is my function thus far:</p>
  
  <pre><code>    function getDate(dateTimeString)
      {
          var date    = getDateTime(dateTimeString);
          var options = { year: "numeric", month: "numeric", day: "numeric" };        
          return date.toLocaleDateString( date.getTimezoneOffset(), options );
      }
  </code></pre>
  
  <p>but this returns it like so: Wednesday, January 28, 2015 which I don't want. Any suggestions/ideas?</p>
  
  <p>PS: it's not a browser and there is a pretty real possibility that the person using it does not have interwebs connection; all information is gotten from a local database so I can't use any fany stuff like  this <a href="https://stackoverflow.com/questions/3489460/how-to-get-visitors-location-i-e-country-using-javascript-geolocation">How to get visitor&#39;s location (i.e. country) using javascript geolocation</a>.</p>