Click or drag to resize

BsonWriterWriteDateTime Method

Writes a BSON DateTime to the writer.

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
public abstract void WriteDateTime(
	long value
)

Parameters

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

Implements

IBsonWriterWriteDateTime(Int64)
See Also