end and start time for events