[R] Timezones

About this list Date view Thread view Subject view Author view Attachment view

From: Adrian Trapletti (adrian.trapletti@lmttrading.com)
Date: Thu 06 Mar 2003 - 18:23:21 EST


Message-id: <3E66F769.EE917065@lmttrading.com>

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

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Tue 01 Jul 2003 - 09:11:24 EST