Ramco Ramco

Ramco Ramco

  • 439
  • 3.4k
  • 530k

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)