uint8_t week_of_year

uint8_t week_of_year(const struct tm *timeptr, uint8_t start)

Return the calendar week of year, where week 1 is considered to begin on the day of week specified by 'start'. The returned value may range from zero to 52.