I guess the title says it all: I have a pair of POSIX time objects produced with Sys.time()
and I want the difference displayed in a consistent manner. I expect times to vary from the order of magnitude of milliseconds to days, but cannot find a way to display the output of difftime
in the format DD:HH:MM:SS:mm
.
Any terse R methods to do this (ideally without packages)?