Re: [R] Time format issue

2016-07-27 Thread David Winsemius
> On Jul 27, 2016, at 5:03 AM, Ismail SEZEN wrote: > > >>> The time column is factor. I want to convert each time to the following >>> format: >>> >>> 20111211003000 >>> >>> 20111211013000 >>> >>> 2011121102 >>> >>> (Year)(month)(date)(hr)(min)(sec) >> >>> newTimeDt <- strptime(Time, f

Re: [R] Time format issue

2016-07-27 Thread Ismail SEZEN
>> The time column is factor. I want to convert each time to the following >> format: >> >> 20111211003000 >> >> 20111211013000 >> >> 2011121102 >> >> (Year)(month)(date)(hr)(min)(sec) > >> newTimeDt <- strptime(Time, format="%d%b%y:%H:%M") >> newTimeDt > [1] "2011-12-27 00:30:00 PST" "20

Re: [R] Time format issue

2016-07-26 Thread David Winsemius
> On Jul 26, 2016, at 11:24 AM, kolkata kolkata wrote: > > Hello Everyone, > > I have a file with time in the following format: > > Time > > 27DEC11:00:30 > > 27DEC11:01:30 > > 27DEC11:02:00 > > ……. > > The time column is factor. I want to convert each time to the following > format: > >