Ramco Ramco

Ramco Ramco

  • 442
  • 3.4k
  • 517.6k

CultureInfo

Apr 21 2023 4:14 PM

Hi

  How the below code works & what is the significance of CultureInfo

DateTime sessionDate = DateTime.ParseExact(colum1.SessionDate.ToString(), "dd-MM-yyyy", CultureInfo.InvariantCulture);

Thanks


Answers (4)