returns the time span of a ts
d=datets(ts)
* ts = a time series
* d = the numerical representation of ts dates