powered by
Pretty formatting of milliseconds
pretty_ms(ms, compact = FALSE)
Character vector of formatted time intervals.
Numeric vector of milliseconds
If true, then only the first non-zero unit is used. See examples below.
Other time: pretty_dt(), pretty_sec()
pretty_dt()
pretty_sec()
pretty_ms(c(1337, 13370, 133700, 1337000, 1337000000)) pretty_ms(c(1337, 13370, 133700, 1337000, 1337000000), compact = TRUE)
Run the code above in your browser using DataLab