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.
David
"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message
news:MP************************@msnews.microsoft.c om...
Yoshi <yo***@home.com> wrote: Is there a way to programatilly obtain a list of all the data formats
using
C# code?
What do you mean by "all the data formats" exactly?
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too