Displaying 6 results from an estimated 6 matches for "westeurop".
Did you mean:
westeros
2003 Nov 25
0
AW: ISOdate() and strptime()
...en I create a sequence of days that happens to start before and ends in
daylight savings time, I seem to lose a day:
> seq(from = strptime("20030329", format="%Y%m%d"), to= strptime("20030402",
format="%Y%m%d"), by="DSTday")
[1] "2003-03-29 Westeurop?ische Normalzeit" "2003-03-30 Westeurop?ische
Normalzeit"
[3] "2003-03-31 Westeurop?ische Sommerzeit" "2003-04-01 Westeurop?ische
Sommerzeit"
> seq(from = strptime("20030329", format="%Y%m%d"), to= strptime("20030402",
format="...
2003 Nov 14
5
ISOdate() and strptime()
Dear R-people!
I am using R 1.8.0, under Windows XP.
While using ISOdate() and strptime(), I noticed the following behaviour when
"wrong" arguments (e.g., months>12) are given to these functions:
> ISOdate(year=2003,month=2,day=20) #ok
[1] "2003-02-20 13:00:00 Westeurop?ische Normalzeit"
> ISOdate(year=2003,month=2,day=30) #wrong day, but returns a value
[1] "2003-03-02 13:00:00 Westeurop?ische Normalzeit"
> ISOdate(year=2003,month=2,day=35) #wrong day, and returns NA
[1] NA
> ISOdate(year=2003,month=2,day=40) #wrong day, but returns a valu...
2007 Oct 08
2
Incompatible methods ("-.POSIXt", "Ops.difftime") for "-"
...8
attr(,"tzone")
[1] ""
Warning message:
Incompatible methods ("-.POSIXt", "Ops.difftime") for "-"
This works, on the other hand:
> Sys.time() - as.numeric(as.difftime(c("0:3:20", "11:23:15")))
[1] "2007-10-08 12:16:18 Westeurop?ische Normalzeit" "2007-10-08 12:04:58 Westeurop?ische Normalzeit"
Am I understanding something wrongly?
Many thanks and best regards,
Stefan
____________________________________
Dr. Stefan Albrecht, CFA
Allianz Private Equity Partners GmbH
K?niginstr. 19 | 80539 Munich | German...
2007 Apr 12
3
Method dispatch for print() in package its
...> , ...)
}
<environment: namespace:its>
Signatures:
x
target "its"
defined "its"
> fundPME.lst[[1]]$irr
An object of class "its"
IRR HSBC MEEM
2005-10-31 0.1926175 0.07802736
Slot "dates":
[1] "2005-10-31 Westeuropäische Normalzeit"
> fundPME.lst[[1]]$irr@.Data
IRR HSBC MEEM
2005-10-31 0.1926175 0.07802736
> print(fundPME.lst[[1]]$irr)
IRR HSBC MEEM
2005-10-31 0.1926175 0.07802736
So, is it necessary to define a print.its S3 method, or what should we d...
2006 Jan 20
47
SQL Server datetime error
i have a problem with the datetime format of rails. i am unable to save
a dataset to the db. here''s the error message -- the original error
message was in german, so i translated it -- i get:
DBI::DatabaseError: Execute
OLE error code:80040E07 in Microsoft OLE DB Provider for SQL Server
Couldn''t convert a char-Datatype to datetime
HRESULT error code:0x80020009
2003 Nov 19
5
ISOdate returns incorrect date?
Dear all,
I have found the following (for me) incomprehensible behaviour of
ISOdate (POSIXct):
> ISOdate(1900,6,16)
[1] "1900-06-15 14:00:00 Westeurop?ische Sommerzeit"
> ISOdate(1950,6,16)
[1] "1950-06-16 14:00:00 Westeurop?ische Sommerzeit"
Note that in the first case I get the 15th of June back, not the 16th as
I would have expected!
This happened under R-1.7.1 on both windows and linux.
I would greatly appreciate your comm...