[Rd] Date conversion with as.POSIXct and as.POSIXlt (PR#9196)
Dirk Eddelbuettel
edd at debian.org
Fri Sep 1 15:54:17 CEST 2006
On 1 September 2006 at 06:25, Gabor Grothendieck wrote:
| Note that there is some discussion in the help desk article
| in R News 4/1 and a table of tested conversions at
| the end of that article. If x is of class "Date" then for
| converting from Date to POSIXct the table suggests
| as.POSIXct(format(x)) or as.POSIXct(format(x), tz = "GMT")
| according to whether you want the current time zone or GMT.
Could we get something like this table into the on-line documentation?
Incidentally, just yesterday I was just mud-wrestling the same DST and TZ
issue ...
Dirk
--
Hell, there are no rules here - we're trying to accomplish something.
-- Thomas A. Edison
More information about the R-devel
mailing list