Skip to content
Prev 132097 / 398506 Next

How to convert Datetime numbers from Excel to POSIXt objects

Since you are getting the date times from Excel clearly you don't need
time zones, etc. so you can use chron.  See R News 4/1 for more.
+  t2 = "3.7.1981 00:00:00", t3 = "1.7.1981 00:00:00", t4 = "1.1.1981 00:00:00")
Time in days:
    t1 t1     t2 t2     t3 t3     t4 t4
29770.375    -0.375    -2.000  -181.000
On Dec 14, 2007 12:06 PM, Rolf Fankhauser <rolf.fankhauser at gepdata.ch> wrote: