If you want just that specific format use a simple regex
"Regular Expression Matching a Valid Date"
http://www.regular-express
".NET Framework Regular Expressions"
http://msdn.microsoft.com/
There are plenty of other example regexes for data/time formats here: http://regexlib.com/Displa
Main Topics
Browse All Topics





by: Idle_MindPosted on 2009-10-29 at 16:17:34ID: 25699113
Are you getting a STRING as input?...or are you getting something else from a different source?
What version and language are you using?
Will it only be NUMBERS?...if you are using anything else then the CULTURE (current language) will come into play!