Click here to Skip to main content
15,887,585 members
Articles / Database Development / MongoDB

MongoDB C#: Serializer for DateTimeOffset to BsonType DateTime

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
24 Nov 2018CPOL1 min read 16.3K  
Serializing DateTimeOffset to DateTime in MongoDB is currently not supported. This solution will show you how it can work.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect Pentland Firth Software GmbH
Germany Germany
I love coding in .Net C# and do my best to get a problem solved the way it should be solved. Working as a Software Architect I was lucky to make my hobby a profession Smile | :)

Comments and Discussions