I try to insert local time in MongoDB
var time = DateTime.Now; // 03.05.2014 18:30:30 var query = new QueryDocument { { \"time\", nowTime} }; collection
Just define the "Kind" of the DateTime by the "BsonDateTimeOptions" attribute and set it to local:
[BsonDateTimeOptions(Kind = DateTimeKind.Local)] public DateTime SomeDateProperty {get;set;}