Roland Tanglao
About

07January2019 how to calculate time differences for support using R and lubridate

Mar 29, 2019

Pontifications

  • forgot to blog this: 07January2019 how to calculate time differences in hours for support using R and lubridate
interval(ymd_hms("2019-01-04 18:40:00", 
  tz = "America/Vancouver"), 
  ymd_hms("2019-01-07 12:59:00", 
    tz = "America/Vancouver")) / hours(1)
[1] 66.31667

Leave a comment on github

Roland Tanglao

  • Roland Tanglao
  • roland@rolandtanglao.com
  • rtanglao
  • rtanglao

flickr.com/roland, twitter.com/rtanglao #firefox #thunderbird