Re: [R] Time and date conversion

2018-06-06 Thread MacQueen, Don via R-help
After you've solved the format inconsistency issues, per Peter's advice, you will need to understand that R internally converts and stores the timedate values in UTC. Therefore, it is absolutely essential to give it the correct timezone specification on input. The user does not "convert to UTC

Re: [R] Time and date conversion

2018-06-04 Thread peter dalgaard
> On 4 Jun 2018, at 10:45 , Christofer Bogaso > wrote: > > Hi, > > I have an automatic data feed and I obtained a Date vector in the following > format: > >> Date > [1] "03 Jun 2018 10:01 am CT""01 Jun 2018 22:04:25 pm CT" > > I now like to convert it to UTC time-zone > > Is there any

[R] Time and date conversion

2018-06-04 Thread Christofer Bogaso
Hi, I have an automatic data feed and I obtained a Date vector in the following format: > Date [1] "03 Jun 2018 10:01 am CT""01 Jun 2018 22:04:25 pm CT" I now like to convert it to UTC time-zone Is there any easy way to convert them so, particularly since 1st element doesnt have any Second