C# DateTime, is this method regional setting safe?
- by JL
I am using the following method to serialize a date as a string
private const string DateFormatString = "dd.MM.yyyy HH:mm:ss";
string LastsuccessfuldownloadDateTime = DateTime.Now.AddDays(-91).ToString(DateFormatString);
Is this the safest way to ensure that the string always gets serialized in this format?