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)

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 )
decode a bson datetime to python datetime .