Hello,
why does this not work (the OS runs with german settings):
DateTimeFormatI nfo dtFI = new DateTimeFormatI nfo();
dtFI.FullDateTi mePattern = "ddd MMM dd HH:mm:ss yyyy";
dtFI.Abbreviate dDayNames = new string[] {"Mon", "Tue", "Wed",
"Thu", "Fri", "Sat", "Sun"};
dtFI.Abbreviate dMonthNames = new string[] {"Jan", "Feb", "Mar",
"Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""};
return DateTime.Parse( "Fri Aug 01 09:03:43 2003", dtFI);
Thanks for any suggestion.
Tobias
why does this not work (the OS runs with german settings):
DateTimeFormatI nfo dtFI = new DateTimeFormatI nfo();
dtFI.FullDateTi mePattern = "ddd MMM dd HH:mm:ss yyyy";
dtFI.Abbreviate dDayNames = new string[] {"Mon", "Tue", "Wed",
"Thu", "Fri", "Sat", "Sun"};
dtFI.Abbreviate dMonthNames = new string[] {"Jan", "Feb", "Mar",
"Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""};
return DateTime.Parse( "Fri Aug 01 09:03:43 2003", dtFI);
Thanks for any suggestion.
Tobias
Comment