Click or drag to resize

BsonBinaryWriter.WriteDateTime Method

Writes a BSON DateTime to the writer.

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntax
public override void WriteDateTime(
	long value
)

Parameters

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

Implements

IBsonWriter.WriteDateTime(Int64)
See Also