[R] Timezones

Adrian Trapletti adrian.trapletti at lmttrading.com
Thu Mar 6 08:23:21 CET 2003


Can anybody give me a hint why as.POSIXlt doesn't recognize the same
timezones that zdump knows about (Linux Suse 8.1 and Suse 7.3)? Is there
a workaround?

R : Copyright 2002, The R Development Core Team
Version 1.6.1  (2002-11-01)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type `license()' or `licence()' for distribution details.

R is a collaborative project with many contributors.
Type `contributors()' for more information.

Type `demo()' for some demos, `help()' for on-line help, or
`help.start()' for a HTML browser interface to help.
Type `q()' to quit R.

[Previously saved workspace restored]

> Sys.time()
[1] "2003-03-06 08:20:09 CET"
> system("zdump CET")
CET  Thu Mar  6 08:20:14 2003 CET
> as.POSIXlt(Sys.time(), "HST")
[1] "2003-03-06 08:20:18 CET"
> system("zdump HST")
HST  Wed Mar  5 21:20:20 2003 HST

best
Adrian



More information about the R-help mailing list