R, 76 bytes
Please also have a look at this shorter72 byte R answer that is also locale-independent.
sum(!grepl("S",weekdays(seq(Sys.Date(),as.Date(scan(,""),"%d.%m.%Y"),1))))+1
weekdays gives text days of week, so we count the days in the sequence between today and the input that do not contain S, and add one to the result.
R, 76 bytes
Please also have a look at this shorter R answer.
sum(!grepl("S",weekdays(seq(Sys.Date(),as.Date(scan(,""),"%d.%m.%Y"),1))))+1
weekdays gives text days of week, so we count the days in the sequence between today and the input that do not contain S, and add one to the result.
R, 76 bytes
Please also have a look at this 72 byte R answer that is also locale-independent.
sum(!grepl("S",weekdays(seq(Sys.Date(),as.Date(scan(,""),"%d.%m.%Y"),1))))+1
weekdays gives text days of week, so we count the days in the sequence between today and the input that do not contain S, and add one to the result.
R, 76 bytes
Please also have a look at this shorter R answer.
sum(!grepl("S",weekdays(seq(Sys.Date(),as.Date(scan(,""),"%d.%m.%Y"),1))))+1
weekdays gives text days of week, so we count the days in the sequence between today and the input that do not contain S, and add one to the result.
R, 76 bytes
sum(!grepl("S",weekdays(seq(Sys.Date(),as.Date(scan(,""),"%d.%m.%Y"),1))))+1
weekdays gives text days of week, so we count the days in the sequence between today and the input that do not contain S, and add one to the result.
R, 76 bytes
Please also have a look at this shorter R answer.
sum(!grepl("S",weekdays(seq(Sys.Date(),as.Date(scan(,""),"%d.%m.%Y"),1))))+1
weekdays gives text days of week, so we count the days in the sequence between today and the input that do not contain S, and add one to the result.