C# does not provide IsDate() function, but you can build one pretty easily: You can build other functions such as IsInteger() by using int .Parse() instead of DateTime .Parse(). Based on feedbacks from the community, I am adding an alternative using TryParse...