If i run this console app from my test italian machine:
static void Main(string[] args)
{
String date = DateTime.Now.ToString("yyyy-MM-dd HH:mm", new CultureInfo("it-IT"));
Console.WriteLine(date);
Console.ReadKey();
CultureInfo ci = new CultureInfo("it-IT");
Console.WriteLine("Time: " + ci.Name + " " + ci.DateTimeFormat.TimeSeparator);
Console.WriteLine("Date: " + ci.Name + " " + ci.DateTimeFormat.DateSeparator);
Console.ReadKey();
}
displays:
2013-07-25 15:40 Time: it-IT : Date: it-It /
but if I run this code from my usa server:
2013-07-25 15.40 Time: it-IT . Date: it-It /
Why different format separator for the time part? The correct one for italian must be :