Skip to content

as.Date.POSIXct

1 message · Joshua Ulrich

#
Would it make sense for as.Date.POSIXct to not assume tz="UTC" if the
POSIXct object has a valid tzone attribute?  Current behavior may be
confusing in certain cases, for example:
+ class=c("POSIXct","POSIXt")))
[1] "2004-07-22 01:00:00 CEST"
[1] "2004-07-21"
[1] "2004-07-22"
[1] "2004-07-22"

Best,
--
Joshua Ulrich  |  about.me/joshuaulrich
FOSS Trading  |  www.fosstrading.com

R/Finance 2013: Applied Finance with R  | www.RinFinance.com