Method WriteDateTime

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

Namespace

MongoDB.Bson.IO

Assembly

MongoDB.Bson.dll

WriteDateTime(long)

Writes a BSON DateTime to the writer.

void WriteDateTime(long value)

Parameters

value long

The number of milliseconds since the Unix epoch.