CultureInfo.InvariantCulture what is the use and why we are using in the ParseExact

Please explain

HI @Akbar_Badhusa

Check this document

ParseExact (String, String, IFormatProvider) Converts the specified string representation of a date and time to its DateTime equivalent using the specified format and culture-specific format information.

Regards
Gokul

Hi,

The following also helps you.

Regards,

1 Like