Skip to content
Prev 300381 / 398503 Next

NA instead of time stamp

Hello,

Print DateTime, and see what's wrong.

When you paste(), you use the order ymd HM with space as separator but 
when you try to convert to POSIXct you pass a wrong format, not the one 
created by paste().

Solution: as.POSIXct(DAteTime, format="%Y %m %d %H %M")

Hope this helps,

Rui Barradas

Em 17-07-2012 15:48, Yolande Tra escreveu: