Hello, 

having some trouble getting Sys.timeDate(x) to return the correct time for
some FinCenters. 

Here is a demonstration:

 

> require(fCalendar)

> x <- c("HongKong","Singapore","Seoul","Tokyo","Sydney","London","NewYork")

> lapply(x,Sys.timeDate)

[[1]]

HongKong

[1] [2008-06-01 23:12:08]

 

[[2]]

Singapore

[1] [2008-06-01 21:42:08]

 

[[3]]

Seoul

[1] [2008-06-02 00:12:08]

 

[[4]]

Tokyo

[1] [2008-06-02 00:12:08]

 

[[5]]

Sydney

[1] [2008-06-02 00:12:08]

 

[[6]]

London

[1] [2008-06-01 15:12:08]

 

[[7]]

NewYork

[1] [2008-06-01 10:12:08]

 

> 

New York is correct

London is correct

Sydney is correct

but

Tokyo off by +1hr

Singapore is off by -0.5hr

Hong Kong is off by +1hr

Seoul is off by +1hr

 

Any tips on how to correct? 

 

Thank you


	[[alternative HTML version deleted]]

