C# DateTime without Timezone and Millisecond
Without Millisecond
From http://stackoverflow.com/questions/1004698/how-to-truncate-milliseconds-off-of-a-net-datetime: categories: dev
dateTime = dateTime.AddTicks( - (dateTime.Ticks % TimeSpan.TicksPerSecond));
categories: dev
Without Timezone
From http://stackoverflow.com/questions/3188933/prevent-timezone-conversion-on-deserialization-of-datetime-value: categories: dev
DateTime dateTime = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Unspecified);
categories: dev