Skip to content
Prev 165814 / 398502 Next

sdate<-as.POSIXct(strptime(date,format="%m/%d/%Y %H:%M"))

Please do read the posting guide and supply the information asked for.
There is nothing here I can reproduce:

Sys.setenv(TZ="EST5EDT")
date <- c("11/19/2006 00:00", "11/19/2006 00:10")
as.POSIXct(strptime(date,format="%m/%d/%Y %H:%M"))

gives

[1] "2006-11-19 00:00:00 EST" "2006-11-19 00:10:00 EST"

on both Mac OS X and Linux.

So what does sessionInfo() give on your system, and what timezone are you 
using?
On Wed, 31 Dec 2008, Graves, Gregory wrote:

            

  
    
Message-ID: <alpine.LFD.2.00.0901010912450.22697@auk.stats.ox.ac.uk>
In-Reply-To: <ADA89BAFDF636E4BA593CB4DA683D72B204A77@EXCHVS02.ad.sfwmd.gov>