units-time: Time units

units-timeR Documentation

Time units

Description

Whenever durations need to be specified, eg for a timeout parameter, the duration can be specified as a whole number representing time in milliseconds, or as a time value like 2d for 2 days. The supported units are:

Details

y Year
M Month
w Week
d Day
h Hour
m Minute
s Second

See Also

units-distance


ropensci/elastic documentation built on June 6, 2023, 8:41 p.m.