Table of Contents

Method ToNullableUniversalTime

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

ToNullableUniversalTime()

Converts this BsonValue to a DateTime? in UTC.

public virtual DateTime? ToNullableUniversalTime()

Returns

DateTime?

A DateTime?.