[R-sig-finance] Date calculations
Diethelm Wuertz
wuertz at itp.phys.ethz.ch
Wed Mar 22 15:16:52 CET 2006
Do you have the latest version of Rmetrics 221.10065 ? Please update
Rmetrics and try again.
DW
Henaff, Patrick (MLCI) wrote:
>Thanks for the answer to my previous post. Somehow, I cannot replicate
>your example (see below). Note that z + one day ends up at 04-apr-2005
>at 1 a.m.
>
>
>
>>R.version
>>
>>
> _
>platform i386-pc-mingw32
>arch i386
>os mingw32
>system i386, mingw32
>status
>major 2
>minor 2.1
>year 2005
>month 12
>day 20
>svn rev 36812
>language R
>
>
>
>>myFinCenter="GMT"
>>z <- timeDate("2005-04-03",zone="GMT", FinCenter=myFinCenter)
>>
>>
>Warning message:
>Set timezone to GMT! in: timeDate("2005-04-03", zone = "GMT", FinCenter
>= myFinCenter)
>
>
>>z+86400
>>
>>
>[1] "GMT"
>[1] [2005-04-04 01:00:00]
>Warning messages:
>1: Set timezone to GMT! in: "+.timeDate"(z, 86400)
>2: Set timezone to GMT! in: timeDate(e1, zone = e1 at FinCenter, FinCenter
>= "GMT")
>3: Set timezone to GMT! in: timeDate(e1GMT + e2, zone = "GMT", FinCenter
>= e1 at FinCenter)
>4: Set timezone to GMT! in: print.timeDate(list())
>
>
>--------------------------------------------------------
>
>If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/
>--------------------------------------------------------
>
>
>
More information about the R-sig-finance
mailing list