DateTimeParser.TryParseExact C# (CSharp) Method

TryParseExact() public static method

public static TryParseExact ( string str, string format, DateTime, &result ) : bool
str string
format string
result DateTime,
return bool
    public static bool TryParseExact(string str, string format, out DateTime result) => DateTime.TryParseExact(
        str,
        format,
        null,
        DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal,
        out result);
}