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