make_date and make_time from str and datetime