title: How to find different elements of two time vectors?
body: <p>Considering these two time vectors:</p>
  
  <pre><code>a&lt;-seq(as.POSIXct("2010-01-01 05:00:00"), as.POSIXct("2010-01-02 23:55:00"), by = '5 min')
  b&lt;-seq(as.POSIXct("2010-01-01 00:00:00"), as.POSIXct("2010-01-03 23:55:00"), by = '10 min')
  </code></pre>
  
  <p>How to get the different elements between these two vectors? I've tried:</p>
  
  <pre><code>union(setdiff(a, b), setdiff(b, a))
  </code></pre>
  
  <p>But the returned values are not in time format.</p>