title: Using locale date format in Joomla modules
body: <p>How to output a date in the locale date/time format in Joomla?</p>
  
  <p>I'm creating a module which is supposed to print dates. I know I can dirty-hack it like that:</p>
  
  <pre><code>    strftime(format_string, strotime($date));
  </code></pre>
  
  <p>... but I would like a smoother solution, that would use Joomla's built-in locale handling functionality.</p>