I have no clue about datetimes. But I don't trust this, `'int'` is certainly not well defined, you probably should use `np.uint64` (assuming M that is always right)? Not sure whether datetimes are unsigned, but 'int' might give you a 32bit integer on some systems.