[R-SIG-Finance] Date problem
Benczik Sandor
sandor.benczik at crabel.ro
Tue Dec 1 10:35:16 CET 2009
Read these help pages:
?as.Date
?strptime
?as.POSIXct
as.Date("January 1 16:00:00 2009", format="%B %d %k:%M:%S %Y")
HTH,
Sandor
On Tue, 2009-12-01 at 10:18 +0100, Peter Rote wrote:
> Hello everybody,
>
> I'm loading data from Oanda trade Statistics (CSV File).
>
> Date Balance
> 1 January 1 16:00:00 2009 25980.34
> 2 January 2 16:00:00 2009 25480.22
> 3 January 3 16:00:00 2009 25580.24
> 4 January 4 16:00:00 2009 25680.31
>
> How can I change the Date Column to a R Date format (Y-M-D Time)
>
> Thanks you
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Finance at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only.
> -- If you want to post, subscribe first.
More information about the R-SIG-Finance
mailing list