BsonDateTime Operators and Type ConversionsMongoDB C# Driver API Documentation

The BsonDateTime type exposes the following members.

Operators

  NameDescription
Public operatorStatic memberEquality
Compares two BsonDateTime values.
Public operatorStatic member(DateTime to BsonDateTime)
Converts a DateTime to a BsonDateTime.
Public operatorStatic memberInequality
Compares two BsonDateTime values.
Top
See Also

Reference