title: What's the equivalent of Oracle's to_char in AS400 DB2 SQL syntax?
body: <p>I'm trying to display a DATE field fetched from a DB2 instance.</p>
  
  <p>In Oracle I'd use something like:</p>
  
  <pre><code>to_char(v_date, 'YYYY-MM-DD')
  </code></pre>
  
  <p>What's the equivalent in <strong>AS400 DB2</strong>?</p>