I am working on MongoDb using C# drivers. I want query the mongoDb database to find out the row which has EventDate is greater than 13 months from todays date.
my MongoDb has structure something similar to below:
EventDate is of datatype : DateTime
{
"_id" : ObjectId("525239e3e9374f1c3ce4123b"),
"RowId" : 41133552,
"EventDate" : ISODate("2013-08-19T00:00:28Z"),
"Product" : "supporttool",
"Language" : "en",
"GUID" : "67cd73d4-36bc-4c9f-9a4c-144b38d4e928",
}
Please can anyone help me out to get the MongoCollection for data with event date older than 13 months.