I'm trying to compare 2 datetimeoffset with 2 different time zones with mongodb c# driver. I'm using the document serialization for datetimeoffset that create an object that include: - datetime in UTC - ticks in LOCAL - offset
I want to compare only the datetime part of the object because "2019-05-03 10:00:00 +01" are equal to "2019-05-03 09:00:00 +00".
Thanks