L
Leszek Taratuta
Hello,
I have a new installation of the .NET framework on Win 2003 Srv. I need to
use the Convert.ToDateTime(str) method. The problem is it always converts
the provided string to American format MM/dd/yyyy. I need the method to
convert strings to another format: dd-MM-yyyy.
Is there any global configuration setting for .NET, so I could provide the
default date format? It ignores setting in "Control Panel". I emphasize that
I do not want to use any additional methods such as DateTime.ParseExact() to
achieve this. I would like to set the format once and globally for all .NET
applications.
Thanks,
Leszek Taratuta
I have a new installation of the .NET framework on Win 2003 Srv. I need to
use the Convert.ToDateTime(str) method. The problem is it always converts
the provided string to American format MM/dd/yyyy. I need the method to
convert strings to another format: dd-MM-yyyy.
Is there any global configuration setting for .NET, so I could provide the
default date format? It ignores setting in "Control Panel". I emphasize that
I do not want to use any additional methods such as DateTime.ParseExact() to
achieve this. I would like to set the format once and globally for all .NET
applications.
Thanks,
Leszek Taratuta