Operator implicit operator
implicit operator BsonDateTime(DateTime)
Converts a DateTime to a BsonDateTime.
public static implicit operator BsonDateTime(DateTime value)
Parameters
value
DateTimeA DateTime.
Returns
- BsonDateTime
A BsonDateTime.