use Time instead of DateTime