Skip to content

Instantly share code, notes, and snippets.

@i2pi
Created December 28, 2011 21:38
Show Gist options
  • Save i2pi/1529904 to your computer and use it in GitHub Desktop.
Save i2pi/1529904 to your computer and use it in GitHub Desktop.
> difftime(end_day, start_day)
Time difference of 209.0417 days
> difftime(end_day, start_day, 'day')
Time difference of 208.8333 days
> start_day
[1] "2011-06-01 EDT"
> end_day
[1] "2011-12-27 EST"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment