Re: [Rd] Date conversion with as.POSIXct and as.POSIXlt (PR#9196)

From: Dirk Eddelbuettel <edd_at_debian.org>
Date: Fri 01 Sep 2006 - 13:54:17 GMT

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

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Sat Sep 02 00:00:28 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 06 Sep 2006 - 11:39:09 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.