Table of Contents

Method ToUniversalTime

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

ToUniversalTime()

Converts this BsonValue to a DateTime in UTC.

public override DateTime ToUniversalTime()

Returns

DateTime

A DateTime.