Re: [R] Converting Date to Unix Time

2013-02-01 Thread Hasan Diwan
Mr Isella, On 1 February 2013 05:37, Lorenzo Isella wrote: > How can I convert that into Unix time? format.POSIXct(dateCol, '%s'); -- H -- Sent from my mobile device Envoyait de mon portable __ R-help@r-project.org mailing list https://stat.ethz.ch/m

[R] Converting Date to Unix Time

2013-02-01 Thread Lorenzo Isella
Dear All, I am struggling with a simple problem. I did some online research, but I am still banging my head against the floor. I read a csv file into a data frame and I have a columns with entries like 2012-04-13 00:23:45 2012-04-22 07:53:09 etc.. Each line posted above is the content of a singl