``` python import pandas as pd index = pd.to_datetime(['2000-01-02', '2000-01-01']) index.get_loc('1900-01-01') ``` ``` array([], dtype=int64) ```