ParseExact (and TryParseExact)

I never remember the parameters for these methods, so here they are:

DateTime.TryParseExact(userInput, "yyyy-MM-dd", System.Globalization.CultureInfo.InvariantCulture, System.Globalization.DateTimeStyles.None, out birthday)

results matching ""

    No results matching ""