I am using C# 1.11 driver for mongodb. I noticed that when i use date for objectId creation and when i use CreationTime property to get the datetime it is different.
Can anyone explain why is this happening?
using date 10/14/2016 12:00:00 AM
var date = DateTime.ParseExact("20161014000000","yyyyMMddHHmmss", CultureInfo.InvariantCulture);
creating ObjectId
ObjectId oid = new ObjectId(date, 0 , 0 , 0);
oid.CreationTime // returns 10/14/2016 7:00:00 AM