Click or drag to resize

JsonWriterWriteDateTime 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: SystemInt64
The number of milliseconds since the Unix epoch.

Implements

IBsonWriterWriteDateTime(Int64)
See Also