Answers for "check if string is a valid datetime c#"

C#
0

c# Check Valid DateTime

public static bool IsDateTime(string dt)
{
    DateTime tmpDt;
    return DateTime.TryParse(dt, out tmpDt);
}
Posted by: Guest on October-05-2021

Code answers related to "check if string is a valid datetime c#"

C# Answers by Framework

Browse Popular Code Answers by Language