Skip to content
Prev 59591 / 398502 Next

timeDate

Yasser El-Zein <abu3ammar <at> gmail.com> writes:
If by millis you mean milliseconds (i.e. one thousandths of a second)
then POSIXct does not support that resolution, but if rounding to 
seconds is ok then 

  structure(round(x/1000), class = c("POSIXt", "POSIXct"))

should give it to you assuming x is the number of milliseconds.