Dim day As String = Label22.Text Dim week As String = DateTime.ParseExact(day, "dd/MM/yyyy", CultureInfo.InvariantCulture).DayOfWeek.ToString Label88.Text = week
more things but nothing
Dim day As String = Label22.Text Dim week As String = DateTime.ParseExact(day, "dd/MM/yyyy", CultureInfo.InvariantCulture).DayOfWeek.ToString Label88.Text = week
more things but nothing
You forgot parenthesis after ToString method call :) Each method call must contain the parameter list in parenthesis - even if the parameter list is empty.
Should be: