Skip to content
Prev 105703 / 398503 Next

POSIX and summer savings time redux

CET is not a valid timezone *on Windows*: please do RTFM.
E.g. ?Sys.timezone says

      'Sys.timezone' returns an OS-specific character string, possibly
      an empty string.  It may be possible to set the timezone via the
      environment variable '"TZ"': see 'as.POSIXlt'. Windows is
      notorious for naming its timezones differently from the official
      names.

and ?as.POSIXlt points you at

      a specification of the form 'GST-1GDT',

which seems to be the same as CET, and that works on my Windows laptop.
It is also possible that tz="" works for you: it seems to for me when I 
set my machine to CET.
On Thu, 7 Dec 2006, Derek Eder wrote: