Compute the dates for the class, based on weekly classes

classDate(wk, startDate, out_format = "%B %d, %Y")

Arguments

wk

The week number

startDate

The first date for class, formatted as YYYY-MM-DD

out_format

The format in which the dates will be printed. Follows the conventions in strptime

Value

A formatted date

Examples

classDate(3, '2019-01-28')
#> [1] "February 11, 2019"