BsonNullToNullableUniversalTime Method |
Converts this BsonValue to a DateTime? in UTC.
Namespace:
MongoDB.Bson
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
Syntax public override Nullable<DateTime> ToNullableUniversalTime()
Public Overrides Function ToNullableUniversalTime As Nullable(Of DateTime)
abstract ToNullableUniversalTime : unit -> Nullable<DateTime>
override ToNullableUniversalTime : unit -> Nullable<DateTime>
Return Value
Type:
NullableDateTimeA DateTime?.
See Also