Skip to content
Prev 314171 / 398506 Next

as.Date to as.POSIXct

Hello,

I have converted some UNIX time stamps with as.Date as follows

dates_unix <- seq(
			 as.Date(convertTimeToString(timeStart)),
			 length = length(data),
			 by="1 mon")

and now I would like to convert "dates_unix" from type Date to type POSIXct

How can I do that?


Thanks