Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# Check Valid DateTime

public static bool IsDateTime(string dt)
{
    DateTime tmpDt;
    return DateTime.TryParse(dt, out tmpDt);
}
 
PREVIOUS NEXT
Tagged: #Check #Valid #DateTime
ADD COMMENT
Topic
Name
2+4 =