Method ReadDateTime
ReadDateTime(IBsonReader, string)
Reads a BSON DateTime element from the reader.
public static long ReadDateTime(this IBsonReader reader, string name)
Parameters
reader
IBsonReaderThe reader.
name
stringThe name of the element.
Returns
- long
The number of milliseconds since the Unix epoch.