unify date and time fields