change start/end date to date (from datetime)