var iso =
new
IsoDateTimeConverter();
iso.DateTimeFormat =
"yyyy-MM-dd"
;
object
obj =
new
object
();
JsonConvert.SerializeObject(obj, iso);
var iso = new Newtonsoft.Json.Converters.IsoDateTimeConverter();
iso.DateTimeFormat = "yyyy-MM-dd HH:mm:ss";
object obj = new object();
var a = Newtonsoft.Json.JsonConvert.SerializeObject(obj , iso);