What I mean is... I want to obtain a list of all the available Date and Time
patterns (formats). After doing some more research, I have figured out how
to do it.
Here is the code I wrote:
DateTimeFormatInfo d = new DateTimeFormatInfo();
string[] patterns = d.GetAllDateTimePatterns();
foreach (string s in patterns)
MessageBox.Show(s.ToString());
Thanks for responding though. I appreciate the fast response.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.