Split seconds into handy chunks of time.
Note that a year is simply defined as exactly 365 days.
splitTime(seconds, unit = "years")
seconds |
[ |
unit |
[ |
[numeric(5)
]. A named vector containing the
“years”, “days”, “hours”, “minutes”
and “seconds”. Units larger than the given unit
are
NA
.
splitTime(1000)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.