Method WriteDateTime
WriteDateTime(IBsonWriter, string, long)
Writes a BSON DateTime element to the writer.
Parameters
writer
IBsonWriter The writer.
name
stringThe name of the element.
value
longThe number of milliseconds since the Unix epoch.