I'm currently working on a small program which I want to show the date and time clearly and according to cultureinfo, like this: Sunday, march 3. 2017 7:46:57 AM
However, I want it to be possible to select any country, and get the date output according to their way of writing the date. In Denmark, as an example, I'd like to show: Søndag, 3. marts 2017 7:46:57 (<-- in the evening it would be '19:46:57')
Please note, that the '3' is on the other side of the month name.
I can get all the cultureinfo's using CultureInfo.GetCultures, no problem, but when I show the datetime I get 'Sunday 3/12/2017 7:46:57 AM' using MyDateTime.ToString(MyCultureInfo);
I know how to extract the month name, and I could manually construct a string where all these data is showing the way I want for cultures I know, but I can not for cultures I do not know. If somebody chooses 'Chinese' og 'Arabic', I wouldn't know what to show.
I was thinking if there is some way to get the full date with month name in the right place for any culture?