> tm <- ISOdate(2005, 08, 29, hour =3D 12, tz =3D "EDT") > tm [1] "2005-08-29 11:00:00 EDT" ## Firstly, notice that the hour is 11, but was set to 12.
> tm + 0 [1] "2005-08-29 11:00:00 EDT" > tm + 3600 ## Add an hour [1] "2005-08-29 12:00:00 EDT" > tm + c(0, 1) * 3600 ## Repeat [1] "2005-08-29 07:00:00 Eastern Daylight Time" [2] "2005-08-29 08:00:00 Eastern Daylight Time" Oddly, the first two results differ from the second two by 4 hours. > version _ =20 platform i386-pc-mingw32 arch i386 =20 os mingw32 =20 system i386, mingw32 =20 status =20 major 2 =20 minor 1.1 =20 year 2005 =20 month 06 =20 day 20 =20 language R =20 Robert McGehee Quantitative Analyst Geode Capital Management, LLC 53 State Street, 5th Floor | Boston, MA | 02109 Tel: 617/392-8396 Fax:617/476-6389 mailto:[EMAIL PROTECTED] This e-mail, and any attachments hereto, are intended for us...{{dropped}} ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel