Hi,
I'm using the default C# driver provided by the MongoDB developers.
And it's definitely a UTC problem. I store a DateTime that only
contains a date, time is zero. The driver subtracts two hours from it
and hence, regarding only the date, it's a whole day earlier.
Unfortunately it doesn't add these subtracted two hours again when
deserializing. I suppose it should?
Thanks
Hendrik
On Jan 31, 3:01 am, Robert Stam <
rob...@10gen.com> wrote:
> What driver are you using?
>
> Keep in mind that DateTime values in BSON are always stored in UTC, so
> there might be a conversion to UTC taking place.
>