Re: [R] Subtracting TimeStamps

2011-06-23 Thread David Winsemius
On Jun 23, 2011, at 7:26 AM, sumit gupta wrote: Hi All,, I am new to R and having a problem dealing with timestamps. I have 2 columns in my table . Both of these have timestamps value in format 06/22/11 05:34 PM . If these are Date or DateTime objects you can use: ?difftime # with atten

[R] Subtracting TimeStamps

2011-06-23 Thread sumit gupta
Hi All,, I am new to R and having a problem dealing with timestamps. I have 2 columns in my table . Both of these have timestamps value in format 06/22/11 05:34 PM . I want to calculate the difference in these 2 columns ( in minutes) and save it as a 3rd column. Can anyone help ? Thanks Sumit