title: R - date format after cbind
body: <p>I have a dataframe column that looks like:</p>
  
  <pre><code>&gt; head(merged_2$ReferenceDate)
  [1] "2008-03-31 UTC" "2008-03-31 UTC" "2010-03-31 UTC" "2010-06-30 UTC" "2008-03-31 UTC"
  [6] "2008-03-31 UTC"
  </code></pre>
  
  <p>but when I use cbind to get:</p>
  
  <pre><code>test &lt;- cbind(merged_2$ReferenceDate)
  &gt; head(test[,1])
  [1] 1206921600 1206921600 1269993600 1277856000 1206921600 1206921600
  </code></pre>
  
  <p>How can I get the dates to appear as dates and not as numbers?</p>
  
  <pre><code>&gt; typeof(merged_2$ReferenceDate)
  [1] "double"
  &gt; typeof(test[,1])
  [1] "double"
  </code></pre>