Hi,

I have a vetor os dates with day and hour:minutes.

> time1 <- c("03/08/08-11:00","03/08/08-11:10")
> time1 <- as.Date(time1,"%d/%m/%y-%R")
> summary(time1)
        Min.      1st Qu.       Median         Mean      3rd Qu.
Max.
"2008-08-03" "2008-08-03" "2008-08-03" "2008-08-03" "2008-08-03"
"2008-08-03"
> time1[2]-time1[1]
Time difference of 0 days

I need to get the difference between these minutes, my expected result in
this operation is 10 minutes.

How I make this in R?

Thanks
Ronaldo

	[[alternative HTML version deleted]]

