I have a character variable,named date with values like "2015-10-17T02:00:00"
I want to convert this to date and time. I used the following,
as.POSIXct(format(date, format = "%Y-%m-%d %H:%M:%S"))
But I am getting, "2015-10-17 PDT"
I am losing the time factor here. Can anybody help me what mistake I am doing here?