Table of Contents

Method ToLocalTime

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

ToLocalTime()

Converts this BsonValue to a DateTime in local time.

public virtual DateTime ToLocalTime()

Returns

DateTime

A DateTime.