[R] Julian dates

Kurt Hornik Kurt.Hornik at ci.tuwien.ac.at
Mon Apr 9 08:24:47 CEST 2001

>>>>> Alistair Merrifield writes:

> I am using the "chron" package. Can anyone tell me if there is a
> simple way to convert a date object (obtained from the "dates"
> function) into a julian date (using the "julian" function)?

julian() will give numbers of days since an origin, by default January
1, 1970.  Date objects are represented as numbers of days since January
1, 1960, hence are already ``julian'' dates ...

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list