title: remove special character '-' from date format (integer) in python
body: <p>I want to remove special character '-' from date format in python. I have retrieved maximum date from a database column.
  Here is my small code:</p>
  
  <pre><code>def max_date():
      Max_Date= hive_select('SELECT  MAX (t_date) FROM ovisto.ovisto_log')
      value = Max_Date[0]
  print value
  </code></pre>
  
  <p>Here is output:</p>
  
  <pre><code>{0: '2017-02-21', '_c0': '2017-02-21'}
  </code></pre>
  
  <p>I want only numbers without special character '-' from output.
  so, I am expecting this answer '20170221'</p>
  
  <p>I have tried in different ways but could not get proper answer.
  How can I get in a simple way? Thanks for your time.</p>