Ramco Ramco

Ramco Ramco

  • 437
  • 3.4k
  • 548.4k

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)