title: Format date results of postgresql query to 'yyyymmdd'
body: <p>I have this code in my postgresql
  dim_study.created_datetime AS StudyDate,</p>
  <p>I need to query results to format to be yyyymmdd.</p>
  <p>What is the code I should and use and where should the code be included?  Before that line, within that line or after it?</p>