Message-ID: <loom.20041122T191352-664@post.gmane.org>
Date: 2004-11-22T18:18:03Z
From: Gabor Grothendieck
Subject: timeDate
Yasser El-Zein <abu3ammar <at> gmail.com> writes:
:
: what package should I include to use timeDate? I want to convert a
: double (num of millis) into date object.
The times class of the chron package stores times as fractions of
a day. You could check whether or not that gives you the resolution you
need. Install chron and issue the R commands:
library(chron)
?chron
If you only need resolution to the second then you could alternately
use the POSIXct class.
Also check out the article on dates and times in R News 4/1 which
discusses the various possibilities.