Monday, April 2, 2007

ParseExact

When converting string to DateTime then you should never use Parse method. Instead you should always use ParseExact, and from .NET 2.0 you can use also TryParseExact.

No comments: