Re: [R] Operations with dates just as Month and Day and not Year

2015-01-24 Thread Jim Lemon
Hi Camilo, If I understand the above, you want to find the minimum number of days between two day-month dates when there is no information about the year. I think if you take the difference of the two dates with the same year and the difference of the dates after subtracting a year from the "latest

[R] Operations with dates just as Month and Day and not Year

2015-01-23 Thread Camilo Mora
Hi everyone, I am trying to calculate the number of days between any two dates in a year regardless of the year. Specifically, image two dates: MonDay1 <- "01-30" #January 30 MonDay2 <- "12-31" #December 31 I want the difference of those two dates to be MonDay1- MonDay2=30 days #