From: Rolf Turner <rolf_at_math.unb.ca>

Date: Sat 14 May 2005 - 22:23:24 EST

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat May 14 22:30:19 2005

Date: Sat 14 May 2005 - 22:23:24 EST

> z <- strptime("2000-62",format="%Y-%j")

* > z
*

Going the other direction, more experimentation led me to

> julian(z,origin=as.POSIXct("1999-12-31"))

> z <- strptime("2000-102",format="%Y-%j")

> z

> julian(z,origin=as.POSIXct("1999-12-31"))

Time difference of 101.9583 days

Where did the missing 0.0417 days go to?

What syntax should I really be using?

Thanks.

cheers,

Rolf Turner

P. S. I'm still on R version 2.0.1 (Linux) if that's of any relevance.

R. T.

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat May 14 22:30:19 2005

*
This archive was generated by hypermail 2.1.8
: Fri 03 Mar 2006 - 03:31:46 EST
*