I have data.frame (CSV originally) in R with dates in the following three formats:
2011-06-02T17:16:05Z 2012-06-02T17:16:05-07:00 6/2/11 17:16:05
which is year-month-day-time. I donβt quite understand what -07: 00 is, since it seems to be the same for all timestamps (with the exception of some where it is -08: 00), but I assume this is some type of time zone offset.
I'm not quite sure which format (does anyone know?), But I need to convert it to this format:
6/2/11 17:16:05
which is year-month-day-time
I would like to do this in such a way that all dates in CSV (on the same line) are converted to the second format. How can I accomplish this in R?
A complete dataset can be found here .
source share