Skip to content

Get current time in numeric form?

1 message · Brian Ripley

#
[...]
It is easier to use unclass(Sys.time()), which gives this directly.
The base is always `the epoch', as given by Peter.  Unless your clock
is set wrong (possible) that should be the correct value, the problem
being the conversions done in printing it.
It is higher accuracy too (ca 0.01 secs).