scikits.timeseries.TimeSeries.date_to_index

TimeSeries.date_to_index(date)

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