Get the season given the date.
Value
Character specifying the respective competition season given the date. The season (output) follows this pattern: "2005/2006".
Examples
date <- Sys.Date()
date2season(date)
#> [1] "2024/2025"
Get the season given the date.
Character specifying the respective competition season given the date. The season (output) follows this pattern: "2005/2006".
date <- Sys.Date()
date2season(date)
#> [1] "2024/2025"