.net different date format on Windows and Linux (Ubuntu)
The date time for the code below looks different on Windows 10 and Linux (Ubuntu 22.04.2): DateTime date1 = new DateTime(2001, 9, 1); Console.WriteLine(date1.ToString()); Windows date time format: 01.09.2001 00:00:00 Ubuntu date time format: 09/01/2001 00:00:00 Question: How to set…