## To get start, end and sequence of next 10 days,
## exclude today
next10days <- next_n_days(n = 10)
## include today
next10days_2 <- next_n_days(n = 10, include_current = TRUE)
## To get vector of date sequences
next_n_days(n = 10, part = "sequence")
next_n_days(n = 10)$sequence
seq(next10days)
Run the code above in your browser using DataLab