I'm trying to convert a DateTime to a string but actually the dt variable passed in the getFixtures method is underlined in red.
DateTime dt = DateTime.ParseExact(Calendar.SelectedDate.Value.ToString(), "ddMMyyyy",
CultureInfo.InvariantCulture);
dt.ToString("ddMMyyyy");
fixtures.getFixtures(dt);
Error:
Can't convert DateTime to string.
What am I doing wrong?