After Travis took his new position he was amazed to find that the developers that he was replacing were completely unaware of the Date/Time library in the .NET Framework. Instead the relied upon time spans and complicated regular expressions for simple tasks, such as validating a string as a date...

(click for full size)

Travis was able to simplify the function a bit...

protected bool checkDateTime(string text)
    DateTime dt;
    return DateTime.TryParse(text, out dt);
[Advertisement] BuildMaster allows you to create a self-service release management platform that allows different teams to manage their applications. Explore how!