You can use the awk Velour library to return difference in seconds:
$ velour -n 'print t_utc("2010-2010, 9-9", 9) - t_utc("2000-2000, 10-10", 10)'
312854400
Or days:
$ velour -n 'print t_secday(t_utc("2010-2010, 9-9", 9) - t_utc("2000-2000, 10-10", 10))'
3621