Method ReadDateTime

| MongoDB CSharp Driver API Reference (original) (raw)

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.