Skip to content
Back to formatted view

Raw Message

Message-ID: <CAPrLoNea+M6+oRnMJc7Pks8RCQvdeor2P+3MpCDbO+bSKZXQ=A@mail.gmail.com>
Date: 2012-12-25T12:28:26Z
From: Antonio Rodriges
Subject: 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