BsonReader.ReadDateTime Method (original) (raw)

BsonReaderReadDateTime Method

Reads a BSON DateTime from the reader.

Namespace: MongoDB.Bson.IO
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed

Syntax

C#

VB

F#

Copy

public abstract long ReadDateTime()

Public MustOverride Function ReadDateTime As Long

abstract ReadDateTime : unit -> int64

Return Value

Type: Int64
The number of milliseconds since the Unix epoch.

Implements

IBsonReaderReadDateTime

See Also

Reference

BsonReader Class

MongoDB.Bson.IO Namespace