title: How do I get the current "localized pattern" for the date and time of an std::locale
body: <p>So far, I'm able to get the current locale, but I want to get the date format for that particular locale. Can this be done with the standard library.</p>
  
  <pre><code>#include &lt;locale&gt;
  
  int _tmain(int argc, _TCHAR* argv[])
  {
     // Print the current locale
      std::cout &lt;&lt; std::locale("").name().c_str() &lt;&lt; "\n";
  
      // TODO: get the locale's date pattern, example for US it's (mm/dd/yyyy)
      std::cout &lt;&lt; "date pattern:  \n";
  }
  </code></pre>