scikits.timeseries.DateArray.date_to_index

DateArray.date_to_index(dates)

Returns the index corresponding to one given date, as an integer.