title: How to get local (regional) date format in linux?
body: <p>is it possible (if so, how?) to get local (regional) date format? Ideally in cross-platform way, otherwise at least Linux for start would be enough. </p>
  
  <p>What am I talking about: For example this line when executed in terminal returns date (and time) formatted in local (regional) manner:</p>
  
  <pre><code>date +"%c"
  </code></pre>
  
  <p>What I would like to have instead of the numbers is the form in which this is displayed, for example if I set my regional setting to Lithuanian ones I get:</p>
  
  <pre><code>2016 m. birželio 27 d. 19:06:11
  </code></pre>
  
  <p>So I would like to get this instead of the above:</p>
  
  <pre><code>YYYY MM DD
  </code></pre>
  
  <p>If I set regional settings to US ones:</p>
  
  <pre><code>Mon 27 Jun 2016 07:09:24 PM EEST
  </code></pre>
  
  <p>In this case instead of the above I would like to get:</p>
  
  <pre><code>DD MM YYYY
  </code></pre>
  
  <p>Meaning - not the actual numbers, but how local(regional) date is formatted.</p>
  
  <p>I later want to use this information for input/output operations facing user</p>