Record an event with start and end times using the terminal