Xelizyz Xz
Мыслитель
(6284)
11 месяцев назад
Вот:
Syntax: difftime(date1, date2, units)
Parameters:
date1, date2: Dates to calculate difference
units: Days, weeks, months, etc.
difftime("2020-5-16", "2020-1-15", units = "days")
difftime("2020-5-16", "2020-1-15", units = "weeks")
difftime("2020-5-16", "2020-1-15", units = "hours")
difftime("2020-5-16", "2020-1-15", units = "mins")