function to check dates, ie that t0<t1 and t0!=t1
checkDates(t0, t1)
t0
initial date
t1
final date
a list with t0 being [[1]] and t1 being [[2]]