īģŋ 🌐 Method ReadDateTime | MongoDB CSharp Driver API Reference - mongodb.github.io
Table of Contents

Method ReadDateTime

Namespace
MongoDB.Bson.IO
Assembly
MongoDB.Bson.dll

ReadDateTime()

Reads a BSON DateTime from the reader.

long ReadDateTime()

Returns

long

The number of milliseconds since the Unix epoch.