G
Guest
Hi,
How i can check if a string is a valid DateTime pattern?
In java i can use the class SimpleDateFormat that throw an exception when is
initialized with an invalid datetime pattern. There is any class in C# that i
can use?
"yyyyMMdd" --> Correct format pattern
"dd44fgfd" --> Incorrect format pattern
Thanks in advance
How i can check if a string is a valid DateTime pattern?
In java i can use the class SimpleDateFormat that throw an exception when is
initialized with an invalid datetime pattern. There is any class in C# that i
can use?
"yyyyMMdd" --> Correct format pattern
"dd44fgfd" --> Incorrect format pattern
Thanks in advance