Answers for "c# Check Valid DateTime"

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

C# Answers by Framework

Browse Popular Code Answers by Language