store and return times as times