Skip to content
Prev 75613 / 398502 Next

return unique values from date/time class object

On Tue, 16 Aug 2005, McClatchie, Sam (PIRSA-SARDI) wrote:

            
You missed my comment about POSIXlt objects: convert to POSIXct first.
I can't reproduce your error messages, but

 	unique(as.POSIXct(new.time))

works for me.