Tech Tutorials Database
GeekArticles Microsoft Microsoft.NET

Dealing with MongoDB DateTime in ASP.NET Core

Category: Microsoft.NET
Comments (0)

MongoDB is one of the popular NoSQL databases available today. You can use MongoDB database in your ASP.NET Core applications using MongoDB.Driver NuGet package. I discussed the basics of MongoDB including CRUD operations here and here. Document databases such as MongoDB store data as JSON documents. Although JSON supports basic data types such as string, number, and boolean JSON support DateTime. So, date-time values are stored as string. In this article we will discuss a few things that you need to take into account while storing date-time values.


Sponsored Links

Read Next: Multiple implementations of an interface in ASP.NET Core DI container




Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification:�