[R] POSIX time conversion doesn't display digit
ggrothendieck at gmail.com
Sun Aug 30 14:42:09 CEST 2009
> options(digits = 20)
On Sat, Aug 29, 2009 at 11:37 PM, R_help Help<rhelpacc at gmail.com> wrote:
> I have the following string that I converted to a POSIXct:
>> a <- "2009-08-24 10:00:00.213"
>> a.p <- strptime(a,"%Y-%m-%d %H:%M:%OS")
>  1251122400
> I can't seem to get the decimal fraction of .213 out by casting to
> double or numeric. Is there anyway to make sure that POSIXct spits
> that out? Thank you.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help