how to vonvert string to date c sharp code example
Example: string to datetime c#
DateTime.TryParse(stringDate, out DateTime date);
//date variable type is DateTime
DateTime.TryParse(stringDate, out DateTime date);
//date variable type is DateTime