In an attempt to turn a date with a format of \"mm/dd/yyyy hh:mm:ss PM\" into military time, the following replacement of a row value does not seem to take. Eve
\"mm/dd/yyyy hh:mm:ss PM\"
In C# >= 6.0 you can use string interpolation as well if you need to add something around your date. Something like:
row["adate"] = $"S: {StartDateTime:yyyy-MM-dd HH:mm:ss}";