search for: arthmatic

Displaying 1 result from an estimated 1 matches for "arthmatic".

Did you mean: arithmatic
2005 Dec 05
1
Automatic time zone conversion
...%S") [1] "2000-05-11 01:00:00" # In order to incoporate GMT into the record, I use paste function to stick it in. >as.POSIXct(as.character(strptime(cdate,format="%Y-%m-%d_%H:%M:%S")),tz="GMT") [1] "2000-05-11 01:00:00 GMT" #It is easier to just do a arthmatic to convert the timezone and ingore this attribute like > as.POSIXct(as.character(strptime(cdate,format="%Y-%m-%d_%H:%M:%S")),tz="CST")+(8*3600) [1] "2000-05-11 09:00:00 CST" I was wondering if there is a simpler method to do this. Thanks in advance, Simon