title: PowerShell: Weird date format string to date time
body: <p>I am having trouble handling a weird date format exported from an event log.</p>
  
  <p>It looks like the following:
  <strong>Mon May 14 09:32:59 UTC 2018</strong></p>
  
  <p>And I attempted generic <strong>Get-date</strong>, all the way to:</p>
  
  <pre><code>$stringToDatetime2 = [Datetime]::ParseExact("$($TaskFailures[0].time)", "ddd MMM dd HH:mm:ss ZZZ yyyy", $null)
  </code></pre>
  
  <p>I have a feeling I am probably doing something wrong that is obvious. That is the type of feeling I am getting.</p>