title: How can I delete Time from a DateTime formated CSV
body: <p>I'll try to describe this accurately. My CSV is in the format:</p>
  
  <pre><code>email,            DayMade
  email1@email.com, 2013-07-30T15:31:11.000Z
  email2@email.com, 3013-07-31T15:31:15.0001
  </code></pre>
  
  <p>That report automatically generates every few days. I need to filter it to delete all entries older than a week. I was told to use the command: </p>
  
  <pre><code>$CutoffDate = (Get-Date).AddDays(-5)
  $Data = Import-CSV "C:\gam\newestreport.csv" | `
  Where-Object {$_.Date -as '[DayMade]' -lt $CutoffDate}
  </code></pre>
  
  <p>However, that's returning errors, which I believe are caused by the Time (T15:31:11.0007) being included.</p>
  
  <p>I can't figure out how to remove the time while leaving the date. </p>