search for: cdt6cst

Displaying 5 results from an estimated 5 matches for "cdt6cst".

2006 Mar 07
4
POSIX time zone codes
The manual entry for as.POSIX says this about time zone codes... Usage as.POSIXct(x, tz = "") tz A timezone specification to be used for the conversion... but it fails to mention what these "specifications" are. So far, I have tried... as.POSIX(x, tz="UTC") ... works, gives UTC times as.POSIX(x, tz="UTC") ... works, gives EST times as.POSIX(x,
2004 Jan 11
1
strange behaviour when converting from char to POSIX (PR#6427)
...t mucking about with that, but R (1.9.0 as of Jan 8, 2004, on > Debian unstable) still crashes reliably even when I explicitly set the TZ > variable (and it also crashed for TZ=GMT): > > > Sys.getenv("TZ") > TZ > "" > > Sys.putenv("TZ"="CDT6CST") > > Sys.getenv("TZ") > TZ > "CDT6CST" > > format(strptime("199308070150","%Y%m%d%H%M"), "%Y-%m-%d %H:%M:%S", > tz="GMT", usetz=TRUE) > [1] "1993-08-07 01:50:00" > > format(strptime(&quo...
2006 Mar 07
1
How to change time zones?
Say you have a POSIX object that is in UTC. How do you change the values to another timezone? If I do this: times <- strptime(times, "%H:%M:%S") times1 <- as.POSIXct(times, tz="UTC") times2 <- as.POSIXct(times, tz="CDT6CST") times1 id UTC, but times2 is still UTC, not CTD. Why? Is the only was to change time zones to add seconds to POSIX objects? [[alternative HTML version deleted]]
2004 Jan 09
2
strange behaviour when converting from char to POSIX (PR#6422)
Full_Name: Christoph Schmutz, MeteoSchweiz, Switzerland Version: R1.7.1, R1.8.1 OS: windows2000, solaris sunOS 5.8 Submission from: (NULL) (141.249.133.6) I'm not sure if I don't get the clue, but please consider this: > strptime("19930870150","%Y%j%H%M") [1] "1993-03-28 01:50:00" > strptime("19930870250","%Y%j%H%M") [1]
2006 Mar 08
0
survival
...: R-help at stat.math.ethz.ch Message-ID: <971536df0603070600y670f9b48y252742852774a523 at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Only "" and "GMT" are really guaranteed to work on all systems since the time zones are system dependent but try: "CDT6CST" and see if that works on your system. On 3/7/06, Jason Horn <jhorn at bu.edu> wrote: > Whoops, > > [EDIT] > > as.POSIX(x, tz="UTC") ... works, gives UTC times > as.POSIX(x, tz="EST") ... works, gives EST times > > as.POSIX(x, tz="CST&...