# simple example with start and end date
getWeekSeq(start_date="12/29/25",end_date="1/8/26")
# enter specific dates instead
# specify format
getWeekSeq(
dates = c(
'2025-12-29',
'2025-12-30',
'2025-12-31',
'2026-01-01',
'2026-01-04',
'2026-01-05',
'2026-01-06',
'2026-01-07',
'2026-01-08'),
in.format = "%Y-%m-%d"
)
getWeekSeq(
dates = c(
'12/29/25',
'12/30/25',
'12/31/25',
'01/01/26',
'01/02/26',
'01/03/26',
'01/06/26',
'01/07/26',
'01/08/26'
),
in.format = "%m/%d/%y"
)
Run the code above in your browser using DataLab