(data, position, dummy0, opts, dummy1)
return _millis_to_datetime(millis, opts), end
Decode a BSON datetime to python datetime.datetime.
Decode a BSON datetime to python datetime.datetime.
Decode a BSON datetime to python datetime . datetime .
def _get_date(data, position, dummy0, opts, dummy1):
    """Decode a BSON datetime to python datetime.datetime."""
    end = position + 8
    millis = _UNPACK_LONG(data[position:end])[0]
    return _millis_to_datetime(millis, opts), end
def _get_date ( data , position , dummy0 , opts , dummy1 ) : end = position + 8 millis = _UNPACK_LONG ( data [ position : end ] ) [ 0 ] return _millis_to_datetime ( millis , opts ) , end